Skip to main content
POST
Create an invite link

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Invite details

brand_id
string
required
Example:

"b_01HZ9X3Q4R5M6N7P8V2K0W1J"

expires_in_days
integer
required
Example:

7

platform
enum<string>
required
Available options:
app_store_connect,
bluesky,
facebook,
google,
instagram,
instagram_fb,
linkedin,
linkedin_page,
pinterest,
telegram,
threads,
tiktok,
twitter,
whatsapp,
youtube,
zalo
Example:

"facebook"

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:

Response

Invite created

expires_at
string<date-time>
required
Example:

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

id
string
required
Example:

"inv_01HZ9X3Q4R5M6N7P8V2K0W1J"

permissions
string[] | null
required

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
enum<string>
required
Available options:
app_store_connect,
bluesky,
facebook,
google,
instagram,
instagram_fb,
linkedin,
linkedin_page,
pinterest,
telegram,
threads,
tiktok,
twitter,
whatsapp,
youtube,
zalo
Example:

"facebook"

token
string
required
Example:

"a55755cf75f73b56deb3dfe0c993fd36fc4c2bfa7"

url
string
required
Example:

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