Skip to main content
POST
/
oauth
/
redirect-uris
Add an allowed redirect URI
curl --request POST \
  --url https://api.social-api.ai/v1/oauth/redirect-uris \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "production",
  "uri": "https://app.acme.com/oauth/done"
}
'
{
  "created_at": "2026-04-10T12:00:00Z",
  "id": "sapi_ruri_a1b2c3d4e5f6",
  "label": "production",
  "uri": "https://app.acme.com/oauth/done"
}

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

Redirect URI to register

label
string

Label is an optional human-readable label for this URI.

Example:

"production"

uri
string

URI is the redirect URI to whitelist (must be https, or http for localhost).

Example:

"https://app.acme.com/oauth/done"

Response

URI registered

created_at
string
Example:

"2026-04-10T12:00:00Z"

id
string
Example:

"sapi_ruri_a1b2c3d4e5f6"

label
string
Example:

"production"

uri
string
Example:

"https://app.acme.com/oauth/done"