Bloss Docs

Create a share link

Developers
POST
/coach/share-links

Create a reusable invite link to your camp, as the Invite page does. Optional label (up to 80 characters kept), maxUses and expiresInDays (both ignored unless positive; none means unlimited or never). Returns the URL to share and its id, which revokes it. GET /coach/invitations lists your links with their use counts.

Authorization

bearerAuth coach:write
headerAuthorizationBearer <token>

Personal access token. Scopes: account:read, creator:read, creator:earnings, managed:read, coach:read, brand:read, creators:read, videos:read, analytics:read, onboarding:read, onboarding:signatures, engagement:read, support:read, integrations:read, payouts:read, funds:read, billing:read, groups:write, videos:write, onboarding:write, sync:write, payouts:write, campaigns:write, brand:write, creators:write, engagement:write, support:write, accounts:write, payments:write, creator:write, creator:payouts:write, managed:write, coach:write, agency:write.

Scope: coach:write

Request Body

application/json
  1. body
label?string

A name for the link, for your own reference.

maxUses?|

How many people may join through it.

expiresInDays?|

Days until the link stops working.

Response Body

Success.

application/json
  1. response
id*string

Keep it to revoke the link later (DELETE /coach/share-links/{linkId}).

label*string|null
maxUses*number|null
useCount*number
expiresAt*string|null
isActive*boolean
shareUrl*string

The link to share: anyone who opens it can ask to join your camp.

curl -X POST 'https://example.com/api/v1/coach/share-links' \  -H 'Content-Type: application/json' \  -d '{}'
{  "id": "string",  "label": "string",  "maxUses": 0,  "useCount": 0,  "expiresAt": "string",  "isActive": true,  "shareUrl": "string"}

Was this page helpful?