Admin

List access codes with filtering

get/api/admin/access-codes

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/access-codes
  • Auth
    HTTP bearer

Query parameters

pagestring
limitstring
codeTypestring
usedstring

Response

unknown required

Example response

{
  "success": true,
  "codes": [
    {
      "id": 1,
      "code": "ABC123",
      "codeType": "standard",
      "used": false,
      "created_at": "2026-01-01T00:00:00.000Z"
    }
  ],
  "total": 50,
  "page": 1
}

Changes

No recorded changes to this operation across all 34 revisions of this API.