Create an invite for a waitlist entry and mark it as invited. Admin only.
cURL
curl --request POST \ --url https://api.example.com/api/admin/waitlist/{entry_id}/invite \ --header 'Authorization: Bearer <token>'
{ "id": 123, "code": "<string>", "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "<string>", "max_uses": 123, "uses": 123, "created_at": "2023-11-07T05:31:56Z", "email": "<string>", "expires_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
Response schema for an invite code.