Skip to main content
PUT
/
platforms
/
twitter
/
credentials
Set default Twitter BYOK credentials
curl --request PUT \
  --url https://api.social-api.ai/v1/platforms/twitter/credentials \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "client_secret": "<string>"
}
'
{
  "error": {
    "code": "resource.not_found",
    "message": "Account not found",
    "meta": {}
  }
}

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 client_id and client_secret

client_id
string
client_secret
string

Response

Credentials stored