Skip to main content
POST
/
platforms
/
twitter
/
credentials
/
test
Test Twitter BYOK credentials
curl --request POST \
  --url https://api.social-api.ai/v1/platforms/twitter/credentials/test \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "client_secret": "<string>"
}
'
{
  "reason": "<string>",
  "valid": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.social-api.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Body

application/json

Twitter OAuth app credentials to test

client_id
string
client_secret
string

Response

OK

reason
string
valid
boolean