Skip to content
Endless Documentation
Users

Get user

GET
/users/{user_id}

Returns a single user. Scoped to the user named by user_id.

Authorization

headerAuthorizationBearer <esk_live_…>

A workspace API key created in workspace settings. It acts as the member who created it, narrowed to its abilities, projects and credit limit. Each operation names the ability it needs.

Scope: profile:read

Path Parameters

user_id*string
Match^user_

Header Parameters

Endless-Api-Version?string

Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.

Response Body

OK

application/json
  1. response
id*string
email*string
emails*array<string>
first_name*string|null
last_name*string|null
image_url*string
username*string|null
created_at*string
Formatdate-time
updated_at*string
Formatdate-time
Example Request
curl -X GET 'https://api.endless.app/users/user_abc123'
Example Response
{  "id": "string",  "email": "string",  "emails": [    "string"  ],  "first_name": "string",  "last_name": "string",  "image_url": "string",  "username": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}