Skip to main content
GET
/
user
/
{user_id_or_email}
Get user profile by ID or email
curl --request GET \
  --url https://ctechnology.io/api/v2.2/user/{user_id_or_email} \
  --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>",
    "profile_picture_url": "<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.

Path Parameters

user_id_or_email
string
required

User ID or email address of the user whose profile will be retrieved.

Response

Successful retrieval of the user's profile.

header
API Header Single · object
required

Default header sent along with single-resource responses.

data
User Profile Public · object
required

A user's (semi)-public profile, consisting of email, name, profile picture, etc.