Create access code
POST/v1/access-codes
Creates an invite code for your organisation. With max_uses: 1 it is a single-use invite for one person: create one per person for a tracked rollout. A higher or omitted max_uses makes one shared campaign code.
To make a code usable by one person only, send their email: only someone who signs in with that address can join with it, and the code is single use. To limit a code to your company, send email_domain instead. Either way the address must be proven by the sign-in (Google or the person's company account); signing in with the Microsoft button does not prove it, so it cannot redeem a bound code.
Codes always invite members; admins and managers are invited from the portal. Send an Idempotency-Key header to make retries safe.
Request
Responses
- 201
- 422
Successful Response
Validation Error