Organizations
Organizations you belong to.
List organizations
Section titled “List organizations”GET/v1/orgs
The organizations this token reaches: an access token reaches just its own, so this is one item.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | How many items to return, 1 to 200. Default 100. |
cursor | query | string | A previous page's next_cursor, to fetch the page after it. Omit for the first page. |
Example request
curl https://api.spanslice.com/v1/orgs \ -H "Authorization: Bearer $SPANSLICE_TOKEN"Response 200
Example response
{ "data": [ { "slug": "snugghome", "name": "SnuggHome", "role": "member", "created_at": "2026-09-18T12:00:00.000Z" } ], "next_cursor": null}Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | The request is invalid; errors says where. |
| 401 | unauthorized | The access token is missing, unknown, expired or revoked. |
| 404 | not_found | It doesn't exist, or this token can't reach it. |
Get an organization
Section titled “Get an organization”GET/v1/orgs/{org}
One organization, with your role in it as this token acts.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
orgrequired | path | string | The organization's slug, as in its URL in the app. Example: "snugghome". |
Example request
curl https://api.spanslice.com/v1/orgs/snugghome \ -H "Authorization: Bearer $SPANSLICE_TOKEN"Response 200
Example response
{ "slug": "snugghome", "name": "SnuggHome", "role": "member", "created_at": "2026-09-18T12:00:00.000Z"}Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | The request is invalid; errors says where. |
| 401 | unauthorized | The access token is missing, unknown, expired or revoked. |
| 404 | not_found | It doesn't exist, or this token can't reach it. |