User

Get user details

Returns details of currently authenticated user

get/me

Request

  • Base URL: http://bonzo.site/api/v3
  • URL: http://bonzo.site/api/v3/me
  • Auth: HTTP bearer

Response

Success.

Example response

{
  "data": {
    "name": "John Doe",
    "email": "johndoe@example.com",
    "phone_number": "1112223333",
    "phone": "1112223333",
    "campaign_phone_number": "+1222333444",
    "avatar_url": "https://via.placeholder.com/128x128",
    "roles": [
      "team_lead"
    ],
    "permissions": [
      "reputation"
    ],
    "timezone": "America/New_York",
    "local_timezone": "America/Chicago",
    "last_login_at": "2022-01-01T01:00:00.000000Z",
    "email_verified_at": "2022-01-01T01:00:00.000000Z",
    "phone_verified_at": "2022-01-01T01:00:00.000000Z",
    "created_at": "2022-01-01T01:00:00.000000Z",
    "updated_at": "2022-01-01T01:00:00.000000Z",
    "deleted_at": "2022-01-01T01:00:00.000000Z",
    "business": {
      "name": "Business Name",
      "address": {
        "country_code": "us",
        "street": "Street Name",
        "city": "Los Angeles",
        "postal": "001122",
        "created_at": "2022-01-01T01:00:00.000000Z",
        "updated_at": "2022-01-01T01:00:00.000000Z"
      },
      "sequence_timezone": "America/New_York",
      "custom_fields": [
        "custom_field_1"
      ],
      "trial_ends_at": "2022-01-01T01:00:00.000000Z",
      "logo_url": "https://via.placeholder.com/128x128",
      "created_at": "2022-01-01T01:00:00.000000Z",
      "updated_at": "2022-01-01T01:00:00.000000Z",
      "tags": [
        "mortgage"
      ],
      "permissions": [
        "access_pipelines"
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.