Skip to content

Get Profile

Retrieve the authenticated dashboard user's profile.

Endpoint

INFO

GET /api/v1/dashboard/profile

Headers

HeaderValueRequired
Acceptapplication/jsonYes
AuthorizationBearer {token}Yes

Example Request

bash
curl -X GET https://api.daakey.com/api/v1/dashboard/profile \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {token}"

Response

Success (200)

json
{
  "success": true,
  "message": "Profile retrieved",
  "data": {
    "id": 1,
    "name": "Admin User",
    "email": "admin@agency.com",
    "phone": "+1234567890",
    "avatar_url": "https://api.daakey.com/storage/avatars/1.jpg",
    "role": "agency_admin",
    "agency": {
      "id": 1,
      "name": "Downtown Agency",
      "code": "DOWNTOWN01"
    },
    "partner": {
      "id": 1,
      "name": "Acme Car Rentals"
    },
    "preferences": {
      "language": "en",
      "timezone": "America/New_York",
      "notifications": {
        "email": true,
        "push": true
      }
    },
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-15T00:00:00Z"
  },
  "request_id": "uuid",
  "timestamp": "2024-01-01T00:00:00.000Z"
}

Daakey Car Sharing Platform