Skip to main content
GET
/
users
/
{userId}
/
Get a user by ID
curl --request GET \
  --url https://dashboard.hologram.io/api/1/users/{userId}/ \
  --header 'Authorization: Basic <encoded-value>'
{
  "success": true,
  "data": {
    "id": 123,
    "email": "jsmith@example.com",
    "first": "<string>",
    "last": "<string>",
    "role": "<string>",
    "partnerid": 123,
    "registered": "2023-11-07T05:31:56Z",
    "defaultaddressid": 123,
    "personal_org": 123,
    "impersonated_by": {}
  }
}

Authorizations

Authorization
string
header
required

HTTP Basic authentication using API keys. Set the username to apikey and the password to your API key. You can find your API key on the Hologram Dashboard under Account Settings.

Path Parameters

userId
integer
required

User ID

Response

OK

success
boolean

Indicates whether the request was successful.

Example:

true

data
object