Get user by ID
curl --request GET \
--url https://api.axiom.co/v2/users/{id} \
--header 'Authorization: Bearer <token>'
{
"email": "john.doe@example.com",
"id": "usr_123456789",
"name": "John Doe",
"role": {
"id": "role_123456789",
"name": "Organization Admin"
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
User
Represents a user in the system
curl --request GET \
--url https://api.axiom.co/v2/users/{id} \
--header 'Authorization: Bearer <token>'
{
"email": "john.doe@example.com",
"id": "usr_123456789",
"name": "John Doe",
"role": {
"id": "role_123456789",
"name": "Organization Admin"
}
}