Skip to main content
POST
Create an invite link

Authorizations

Authorization
string
header
required

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

Body

application/json

Invite details

brand_id
string
Example:

"b_01HZ9X3Q4R5M6N7P8V2K0W1J"

expires_in_days
integer
Example:

7

permissions
string[]

The permissions the connected account gets, which are the only ones the invited person is asked to grant. Omit it to keep the brand's current permissions for this platform, or to give every permission if it has none. Valid values: posts.read, posts.write, comments.read, comments.write, messages.read, messages.write, reviews.read, reviews.write, analytics.read.

Example:
platform
string
Example:

"facebook"

Response

Invite created

expires_at
string
Example:

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

id
string
Example:

"inv_01HZ9X3Q4R5M6N7P8V2K0W1J"

permissions
string[]

The permissions chosen when the invite was created. null means the brand's current permissions for this platform apply when the invite is used, or every permission if it has none.

Example:
platform
string
Example:

"facebook"

token
string
Example:

"a55755cf75f73b56deb3dfe0c993fd36fc4c2bfa7"

url
string
Example:

"https://api.social-api.ai/invite/a55755cf..."