Orgs
Read your organisation and its members.
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 members — not wrapped in an envelope.
Unauthorized
GET /orgs/members 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"
},
{
"_id": "6a3c2d5e0f9b8c7d6e5f4a99",
"firstName": "Grace",
"lastName": "Hopper",
"email": "grace@acme.io",
"phone": "+15550100",
"role": "member",
"timezone": "America/New_York"
}
]Get information about your orgranization.
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.
Successful response
Unauthorized
GET /orgs/info HTTP/1.1
Host: api.spike.sh
x-api-key: text
Accept: */*
{
"_id": "5f72e289b17d1656e0115098",
"name": "Acme Corp",
"uid": "acme"
}Last updated
Was this helpful?