Account
Who a credential acts as.
Describe the access token
Section titled “Describe the access token”GET/v1/me
Who this request acts as: the token, its organization and role, and for a personal token the person it belongs to. Call it first to check a token works and to find the organization slug the other operations take.
Example request
curl https://api.spanslice.com/v1/me \ -H "Authorization: Bearer $SPANSLICE_TOKEN"Response 200
Example response
{ "token": { "name": "Rules agent", "kind": "personal", "role": "member", "organization": "snugghome", "expires_at": "2027-01-06T14:03:12.000Z", "created_at": "2026-10-08T14:03:12.000Z" }, "user": { "name": "Ada", "email": "ada@snugghome.com" }}Errors
| Status | Code | When |
|---|---|---|
| 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. |