GET /api/v2/verify_social_accounts
Verify Social Accounts. Last update: 08/08/23

Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

{
  "valid_for_instagram": false,
  "twitter_accounts": [
    {
      "id": 1,
      "screen_name": "SCREEN NAME",
      "twitter_uid": "TWITTER UID",
      "twitter_token": "TWITTER TOKEN",
      "logo_url": "LOGO URL",
      "account_verified": false,
      "twitter_nickname": "SCREEN_NAME",
      "verified": {
        "verified": false,
        "error_message": "Check the settings on your profile page and reconnect your account"
      },
      "nickname": "nickname"
    },
    ...
  ],
  "shared_twitter_accounts": [
    {
      "id": 1,
      "screen_name": "SCREEN NAME",
      "twitter_uid": "TWITTER UID",
      "twitter_token": "TWITTER TOKEN",
      "logo_url": "LOGO URL",
      "account_verified": false,
      "twitter_nickname": "SCREEN_NAME"
      "verified": {
        "verified": false,
        "error_message": "Check the settings on your profile page and reconnect your account"
      },
      "nickname": "nickname"
    },
    ...
  ],
  "facebook_pages": [
    {
      "id": 1,
      "fb_name": "FB NAME",
      "fb_uid": "FB UID",
      "fb_token": "FB TOKEN",
      "logo_url": "LOGO URL",
      "verified": {
        "verified": false,
        "error_message": "Check the settings on your profile page and reconnect your account"
      },
      "nickname": "nickname",
      "is_silhouette": true
    },
    ...
  ],
  "shared_facebook_pages": [
    {
      "id": 1,
      "fb_name": "FB NAME",
      "fb_uid": "FB UID",
      "fb_token": "FB TOKEN",
      "logo_url": "LOGO URL",
      "verified": {
        "verified": false,
        "error_message": "Check the settings on your profile page and reconnect your account"
      },
      "nickname": "nickname",
      "is_silhouette": true
    },
    ...
  ],
  "instagram_accounts": [
    {
      "id": 1,
      "ig_user_name": "IG NAME",
      "ig_user_id": "IG UID",
      "ig_profile_picture_url": "IG AVATAR URL",
      "verified": {
        "verified": false,
        "error_message": "Check the settings on your profile page and reconnect your account"
      },
      "nickname": "nickname"
    },
    ...
  ],
  "shared_instagram_accounts": [
    {
      "id": 1,
      "ig_user_name": "IG NAME",
      "ig_user_id": "IG UID",
      "ig_profile_picture_url": "IG AVATAR URL",
      "verified": {
        "verified": false,
        "error_message": "Check the settings on your profile page and reconnect your account"
      },
      "nickname": "nickname"
    },
    ...
  ]
}

Params

Param name Description
template_id
optional

Validations:

  • Must be a Integer


GET /api/v2/verify_social_accounts/verify_accounts_for_social/:type
New Verify Social Accounts. Last update: 12/04/24

Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

{
  "accounts": [
    {
      "id": 2018,
      "screen_name": "Вадим Кручина",
      "twitter_uid": "8TO80b0CFgJDnswlNw1ktLaeWUybYk5EJbTsKz97sKw2h",
      "twitter_token": "1490742550528991233-5gS75iIIppS4bzFs0qJnIHw5YM2Q8W",
      "logo_url": "https://pbs.twimg.com/profile_images/1490742648604434438/-vQ-Xsel_normal.png",
      "account_verified": false,
      "twitter_nickname": "GYCEZQ7ijQ5k353",
      "nickname": "",
      "type": "personal",
      "verified": {
        "verified": false,
        "error_message": "Something went wrong and this account was disconnected. Please reconnect this account in your settings."
      }
    },
    ...
  ],
  "valid_for_instagram": null,
  "total_count": 1
}

Params

Param name Description
type
required

Validations:

  • Must be one of: facebook, instagram, twitter.

template_id
optional

Validations:

  • Must be a Integer

page
required

Validations:

  • Must be a Integer