Releases Index
List your publish tokens
View .md

List your publish tokens

GET
/me/publish-tokens

Signed-in session only (cookie, or the releases login session token). Lists the caller's publish tokens, active and revoked, newest first. Never includes the secret.

Authorization

bearerAuth
headerAuthorizationBearer <relk_… | relu_… | OAuth JWT>

Machine/operator tokens use the relk_ prefix; self-serve read-only user keys use relu_; Sign in with Releases supplies an OAuth access token. Required scope depends on the endpoint.

Response Body

The caller's publish tokens

application/json
  1. response
publishTokens*array<>
Example Request
curl -X GET 'https://api.releases.sh/v1/me/publish-tokens'
Example Response
{  "publishTokens": [    {      "id": "string",      "name": "string",      "sourceId": "string",      "sourceSlug": "string",      "orgSlug": "string",      "createdAt": "string",      "lastUsedAt": "string",      "revokedAt": "string"    }  ]}