API ReferenceProfile
Show the authenticated user's profile.
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"{ "data": { "user": { "id": "usr_01jq8z4b2k6h7n8m9p0r3s5t7v", "fullName": "Khalid Al-Saud", "email": "[email protected]", "phone": "+966555012345", "avatarFileId": "fil_01jq8z4c0e3p5q7r9s2t4w6x8z", "avatar": { "original": "https://cdn.trackme.sa/u/khalid-original.jpg", "thumb": "https://cdn.trackme.sa/u/khalid-thumb.jpg", "medium": "https://cdn.trackme.sa/u/khalid-medium.jpg" }, "city": "Riyadh", "country": "SA", "status": "active", "types": [ "customer", "owner" ], "preferences": { "cuisines": [ "burgers", "coffee", "shawarma" ], "language": "en" }, "notificationPrefs": { "order": true, "payment": true, "promotion": false }, "language": "en", "createdAt": "2026-04-12T08:14:22.000Z", "updatedAt": "2026-05-18T11:02:09.000Z" }, "ownerBusinessProfile": { "id": "obp_01jq8z4d8a3c5e7g9j2l4n6q8s", "businessName": "Crispy Cart Co.", "ownerFullName": "Khalid Al-Saud", "businessEmail": "[email protected]", "phone": "+966555012345", "city": "Riyadh", "country": "SA", "verificationStatus": "not_required_for_mvp", "trucksOwnedCount": 2 } }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}{ "error": { "code": "AUTH_REQUIRED", "message": "Authentication is required to access this resource." }, "meta": { "requestId": "req_01jq8z1mxc0e0v6r3xj0a8h9k7" }}