Tokens

Get a token

curl https://api.subscriby.net/v1/tokens/$TOKEN_ID \
  -H "Authorization: Bearer $SUBSCRIBY_TOKEN"

One of the caller's tokens, without its value.

  • id is an integer serialised as a string, the one identifier in the platform that is not a UUID. See Identifiers.
  • abilities is the gate strings only. Scope tuples (scope:team:…, scope:project:…) are split out into scopes for readability, so abilities_count counts real permissions rather than bookkeeping.
  • The plaintext value is never returned here. Lose it and the only recovery is to revoke the token and mint another.
get/v1/tokens/{token}

Request

  • Base URL: https://api.subscriby.net
  • URL: https://api.subscriby.net/v1/tokens/{token}
  • Auth: HTTP bearer

Path parameters

tokeninteger required

One of the caller's tokens, resolved by the route binder.

Response

The token resource.

Example response

{
  "data": {
    "id": "1284",
    "name": "Zapier production",
    "abilities": [
      "project:view-any"
    ],
    "scopes": {
      "team_id": "a83f0d51-4c92-4b7e-8615-2fd9e70a3c86",
      "project_ids": [
        "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13"
      ]
    },
    "abilities_count": 2,
    "last_used_at": "2026-05-18T09:15:00Z",
    "created_at": "2026-05-01T10:05:00Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.