Invite API
Create and verify invite tokens for gating access to the Agentbot platform.Invite tokens are 64-character hex strings generated from
crypto.randomBytes(32). The older 12-character code format is deprecated — see legacy format below.Authentication
Create invite
Request body
Response
Errors
Verify invite
Request body
Response (valid)
The branded headliner landing page at
/basefm/headliner calls this endpoint to confirm the invite before pointing DJs to redemption and the DJ stream panel. It reads audience and email from the response to display issued-to details.Errors
List invites (admin)
Response
Errors
Create invite (admin)
Request body
Response
201 Created on success.
Errors
Legacy invite format
Deprecated: generate invite code
POST /api/invite (session auth) and POST /api/admin/invites (admin session auth).
Deprecated: validate invite code
POST /api/invites/verify, which accepts 64-character hex tokens and returns valid and plan fields.