COPS

Create a campaign invite link

POST
/campaigns/{campaignId}/invites

Create a campaign invite. Omit recipients to get one shareable, multi-use link — the returned token is a join credential: anyone who opens /join/{token} while signed in can accept the invite and be added to the campaign as a creator, so treat it like a password. Optional maxUses caps how many creators may join and expiresAt sets a hard cutoff (links default to a 30-day lifetime). Passing recipients instead creates one email-bound invite per address AND emails each of them an invitation — use the shareable-link form (no recipients) for bulk/programmatic invites to avoid sending mail.

Authorization

apiKeyAuth
headerx-api-key<token>

API key for authentication. Keys are prefixed with cops_.

Path Parameters

campaignId*string
Match^prj_.+[\s\S]*$

Request Body

application/json
  1. body
recipients?array<>
Itemsitems <= 500
maxUses?integer
Range-9007199254740991 <= value <= 9007199254740991
expiresAt?string
Formatdate-time

Response Body

Response schema unavailable.

Example Request
curl -X POST 'https://cops.app/api/brand/campaigns/string/invites' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
Empty