API ReferenceProfile
List the caller's granted user-type memberships.
Authorization
bearerAuth AuthorizationBearer <token>
AdonisJS access-token guard (middleware.auth({ guards: ["api"] })). Send Authorization: Bearer <oat_…> (issued by /auth/register, /auth/login, /auth/social/{google,apple}, or /auth/guest).
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/me/types"{ "data": { "items": [ { "type": "customer", "status": "active", "grantedAt": "2026-04-12T08:14:22.000Z" }, { "type": "owner", "status": "active", "grantedAt": "2026-04-20T13:51:08.000Z" } ] }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}Attach an uploaded file as the avatar. POST
Pass a `fileId` previously returned by `POST /api/v1/uploads` with `purpose=avatar`. The server resolves the file row, verifies you uploaded it, and stores it on your profile. Raw URLs are not accepted on this endpoint.
Request a new user-type membership (e.g. owner). POST
Next Page