GetItDoneGetItDone Docs
API ReferenceA P I keys

List API keys

Cursor-paginated list of the organization's API keys (both generations), metadata only — never hashes or plaintext secrets.

GET
/v1/api-keys

Cursor-paginated list of the organization's API keys (both generations), metadata only — never hashes or plaintext secrets.

Authorization

bearerAuth
AuthorizationBearer <token>

A gid_ API key (Settings → API keys) or an OAuth 2.1 access token.

In: header

Query Parameters

limit?integer

Maximum number of items to return (1-100).

Range1 <= value <= 100
Default25
after?string

Opaque cursor from a previous page's next_cursor — omit for the first page. Reusing a cursor with DIFFERENT query parameters (e.g. a different limit) answers 400 validation_failed.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/api-keys"
{  "data": [    {      "id": "string",      "name": "string",      "key_prefix": "string",      "scopes": [        "workspaces:read"      ],      "last_used_at": "2019-08-24T14:15:22Z",      "expires_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "legacy": true    }  ],  "has_more": true,  "next_cursor": "string"}