Only registered user can perform this action
Authentication - string - required
Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"
{
"twitter_account": {
"twitter_token": "TWITTER_TOKEN",
"twitter_uid": "TWITTER_UID",
"screen_name": "NAME",
"logo_url": "LOGO_URL",
"account_verified": true,
"twitter_nickname": "SCREEN_NAME",
"location": progressMeter
}
}
{
"id": 2,
"screen_name": "ekaterinaaaa3",
"twitter_uid": "zMGJu0p8AmK8ECjGoEA7xHAE9dGnO9FGPtPjNukaAbZyZ",
"twitter_token": "1491790551191932941-kDReiCTdXKVCvqOYEZ1EGKgxGpyK95",
"logo_url": "https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png",
"account_verified": true
}
# for admins { "twitter_uid": ["To connect this social media account to your Personal, you must first remove it from your Workspace accounts"] } # for creators { "twitter_uid": ["This social account is already connected to your Workspace! Please ask example@mail.com for access"] }
| Code | Description |
|---|---|
| 422 | Could not save the entity. |
| Param name | Description |
|---|---|
|
twitter_account
required |
Validations:
|
|
twitter_account[twitter_token]
required |
Validations:
|
|
twitter_account[twitter_uid]
required |
Validations:
|
|
twitter_account[screen_name]
required |
Validations:
|
|
twitter_account[logo_url]
required |
Validations:
|
|
twitter_account[account_verified]
optional |
Validations:
|
|
twitter_account[twitter_nickname]
required |
Validations:
|
|
twitter_account[location]
optional |
Validations:
|