GET
/
v3
/
workspaces
/
{workspaceId}
/
api-tokens
List Workspace API Tokens
curl --request GET \
  --url http://127.0.0.1:3333/v3/workspaces/{workspaceId}/api-tokens \
  --header 'Authorization: Bearer <token>'
{
  "tokens": [
    {
      "id": "<string>",
      "name": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "tokenPrefix": "<string>",
      "lastUsedAt": "2023-11-07T05:31:56Z",
      "expiresAt": "2023-11-07T05:31:56Z",
      "revokedAt": "2023-11-07T05:31:56Z",
      "createdByUserId": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Response

200 - application/json

Default Response

tokens
object[]
required