Skip to main content
POST
/
auth
/
waitlist-invite-code
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/auth/waitlist-invite-code \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "count": 10,
  "times": 10
}
'
[
  {
    "code": "<string>",
    "times": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
count
integer
required

The number of invite codes to generate

Example:

10

times
integer
required

The number of invite codes to use

Example:

10

Response

201 - application/json

Gen waitlist invite code successfully

code
string
required
times
integer
required
Last modified on December 10, 2025