Skip to main content
POST
/
check-follow
/check-follow Check if the user follows the account
curl --request POST \
  --url https://api.sorsa.io/v2/check-follow \
  --header 'ApiKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_handle": "tweetscout_io",
  "project_id": "940691529697554432",
  "user_handle": "elonmusk",
  "user_id": "44196397"
}
'
{
  "follow": true,
  "user_protected": false
}

Authorizations

ApiKey
string
header
required

Body

application/json

project_handle or project_id and user_handle or user_id

project_handle
string
Example:

"tweetscout_io"

project_id
string
Example:

"940691529697554432"

user_handle
string
Example:

"elonmusk"

user_id
string
Example:

"44196397"

Response

OK

follow
boolean
Example:

true

user_protected
boolean
Example:

false