Skip to main content
POST
Request program invite link

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours from Settings → Integrations

Path Parameters

id
string
required

Program ID

Body

application/json
expiresInDays
integer | null

Days until link expires (null for never, max 90)

Example:

14

maxUses
integer | null

Maximum number of times link can be used (null for unlimited)

Example:

50

Response

Invite link created successfully

success
boolean

Full invite URL

token
string

Invite token

expiresAt
string<date-time> | null
maxUses
integer | null
programId
string
programName
string