Deplo
API Reference

List access tokens for workspace (or project)

GET
/access-tokens
AuthorizationBearer <token>

Enter your JWT token

In: header

Query Parameters

project_id?string

Filter tokens scoped to a specific project

Header Parameters

X-Workspace-Id?string

Required when authenticating with a JWT (not needed for API tokens)

Response Body

application/json

curl -X GET "https://loading/access-tokens"
[
  {
    "id": "tok_abc123",
    "name": "CI Deploy Token",
    "scopes": [
      "deploy"
    ],
    "createdAt": "2024-01-01T00:00:00.000Z"
  }
]
Empty