/v1/workspaces/{workspace_id}/waitlists/{waitlist_id}/access-codes/redeemAuthRedeem an access code
For apps not on Auth: call it from your server when someone enters the code from their invite email. The first call marks the code used and returns who it was sent to; every later call gets 409 `ACCESS_CODE_USED`.
Path parameters
workspace_id*string · uuidId of the workspace.
waitlist_id*string · uuidId of the waitlist.
Request body
code*stringThe code the person typed (case and dashes do not matter).
Example: "K3X9-Q2MZ-7HBD"
Response · 200 Valid and now used.
entry_id*string · uuidThe waitlist entry the code was sent to.
email*stringIts email address.
name*stringIts name.
redeemed_at*string · date-timeWhen it was redeemed (now).
Example
Request
POST https://api.waitlist.productcraft.co/v1/workspaces/{workspace_id}/waitlists/{waitlist_id}/access-codes/redeem
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
{
"code": "K3X9-Q2MZ-7HBD"
}Response
{
"entry_id": "00000000-0000-0000-0000-000000000000",
"email": "string",
"name": "string",
"redeemed_at": "2026-01-01T00:00:00.000Z"
}