Skip to content
  • Type to search every guide, endpoint and MCP tool.
POST

Create invite codes

/v1/events/{event_id}/invite-codes

Scope prep_manage

Create comp codes for an event — either an explicit codes list or count generated codes (optionally with a prefix). Existing codes (case-insensitive) are skipped, so re-running is idempotent.

Parameters

event_idstring · pathRequired

Request body (JSON)

codesarray of string
The codes, one per entry.
countinteger
Generate this many unguessable codes.
prefixstring
Prefix for generated codes, e.g. 'FM-PARIS-'.
labelstring
Batch label, e.g. 'Paris — press'.
max_redemptionsinteger
1 = single-use (default).

Responses

201Successful Response
422The request did not validate.
401The key is missing, unknown, revoked or expired.
403The key lacks the scope this call needs, or the organisation is not on Enterprise.
429Over the request rate. Wait for Retry-After seconds.