Users
Read the users in your organisation.
Get a list of all members in your organization. This list includes all the members including the ones who are removed from the organization.
Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
Your API key. Find it in your Spike dashboard under Settings > API.
A bare JSON array of users — not wrapped in an envelope.
Unauthorized
GET /users HTTP/1.1
Host: api.spike.sh
x-api-key: text
Accept: */*
[
{
"_id": "6a3c2d5e0f9b8c7d6e5f4a32",
"firstName": "Ada",
"lastName": "Lovelace",
"email": "ada@acme.io",
"phone": "+15550100",
"role": "admin",
"timezone": "America/New_York"
}
]Get a list of all members in your organization. This list includes all the members including the ones who are removed from the organization.
Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.
userId parameter
Your API key. Find it in your Spike dashboard under Settings > API.
Successful response
Unauthorized
Not found
GET /users/{userId} HTTP/1.1
Host: api.spike.sh
x-api-key: text
Accept: */*
{
"_id": "6a3c2d5e0f9b8c7d6e5f4a32",
"firstName": "Ada",
"lastName": "Lovelace",
"email": "ada@acme.io",
"phone": "+15550100",
"role": "admin",
"timezone": "America/New_York"
}Last updated
Was this helpful?