Admin
Create a new access code
post/api/admin/access-codes
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/admin/access-codes
- AuthHTTP bearer
Request body
Example request
{
"codeType": "client",
"email": "user@example.com"
}Response
unknown required
Example response
{
"success": true,
"code": {
"id": 1,
"code": "ABC123",
"codeType": "standard",
"used": false,
"created_at": "2026-02-19T00:00:00.000Z"
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.