For the complete documentation index, see llms.txt. This page is also available as Markdown.

Orgs

Read your organisation and its members.

Fetch members in your org

get

Get a list of all members in your organization. This list includes all the members including the ones who are removed from the organization.

Authorizations
x-api-keystringRequired

Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.

Header parameters
x-api-keystringRequired

Your API key. Find it in your Spike dashboard under Settings > API.

Responses
200

A bare JSON array of members — not wrapped in an envelope.

application/json
_idstringOptional
firstNamestringOptional
lastNamestringOptional
emailstring · emailOptional
phonestringOptional
rolestringOptional
timezonestringOptional
get/orgs/members
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"
  }
]

Fetch your org info

get

Get information about your orgranization.

Authorizations
x-api-keystringRequired

Your organisation's API key. Create one in the Spike dashboard under Settings > API. Sent on every request as the x-api-key header.

Header parameters
x-api-keystringRequired

Your API key. Find it in your Spike dashboard under Settings > API.

Responses
200

Successful response

application/json
_idstringOptional
namestringOptional
uidstringOptional
get/orgs/info
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?