get
https://{yourinstance}.makaira.io/user/
Returns a single user by identity-provider user ID. Requires user:read or usermanagement.read. Returns 404 if the user has no access to the current customer.
Request
GET /user/{auth0UserId}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
auth0UserId | string | Yes | User ID (for example auth0|abc123 or an SSO id). |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> (or HMAC headers, see Authentication) |
Response
Response Body
| Field | Type | Description |
|---|---|---|
user_id | string | Identity-provider user ID. |
email | string | Email address. |
instances | object | Map of instance id (or "*") to arrays of role IDs for this customer. |
multiple_domains | boolean | true if the user has access to more than one Makaira customer. |
is_external_sso | boolean | true when user_id does not contain auth0|. |
Example Response
{
"user_id": "auth0|abc123",
"email": "[email protected]",
"multiple_domains": false,
"is_external_sso": false,
"instances": {
"*": ["rol_xyz"]
}
} 200Successful response

