Skip to main content
GET
/
me
Get user profile
curl --request GET \
  --url https://ctechnology.io/api/v2.2/me \
  --header 'Authorization: <api-key>'
{
  "header": {
    "api_version": "<string>",
    "status": "<string>",
    "message": "<string>",
    "permission_via": [
      {
        "permission": "<string>",
        "via": "me",
        "organization_id": "<string>"
      }
    ]
  },
  "data": {
    "id": "<string>",
    "email": "jsmith@example.com",
    "first_name": "<string>",
    "last_name": "<string>",
    "address_country_code": "<string>",
    "address_street": "<string>",
    "address_city": "<string>",
    "address_zip": "<string>",
    "profile_picture_url": "<string>",
    "measurement_units": "METRIC",
    "settings_webapp": {
      "main_role": "PRIVATE",
      "current_organization": "<string>",
      "selected_theme_id": "<string>",
      "private_sidebar_filter_vehicles": {
        "show_own_vehicles": true,
        "show_client_vehicles": true
      },
      "professional_sidebar_filter_vehicles": {
        "show_own_vehicles": true,
        "show_client_vehicles": true
      },
      "scrollbar_style": "ON_SCRL",
      "timestamp_last_time_upgrade_app_shown": "2023-11-07T05:31:56Z"
    },
    "settings_nativeapp": {
      "theme": "<string>",
      "map_style": "<string>",
      "font_size": "<string>",
      "animations": true,
      "update_interval": "INSTANT"
    },
    "may_use_email_for_marketing": true,
    "profile_picture_id": "<string>",
    "primary_locale": "<string>",
    "time_format": "24H",
    "notification_new_message": true,
    "notification_new_news_article": true,
    "ecosystem_timestamp_last_news_read": "2023-11-07T05:31:56Z",
    "company_name": "<string>",
    "company_tel": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Note that the API key has to be sent as Token 123 where 123 is the key you received after logging in or by creating on the developer dashboard.

Response

Successful retrieval of this user's profile.

header
API Header Single · object
required

Default header sent along with single-resource responses.

data
User Profile · object
required

A user's profile, consisting of email, name, profile picture, etc.