API reference

GET/v1/api-keys

List API keys

Lists the keys in this account. Secrets are never returned.

Required permission: `connections:read`

Base URL
https://api.cutedyno.com
Permission
connections:read
Idempotency
Not applicable. This request has no side effects worth deduplicating.

Request

curl -X GET "https://api.cutedyno.com/v1/api-keys" \
  -H "Authorization: Bearer $CUTEDYNO_API_KEY"

This endpoint takes no parameters.

Response

Returns 200 with the following body.

ApiKey[]required

Example

{
  "keys": [
    {
      "id": "a1b2c3d4-0000-4000-8000-000000000000",
      "name": "Acme Corp",
      "keyPrefix": "string",
      "scope": "full",
      "profileIds": [
        "string"
      ],
      "expiresAt": "string",
      "createdAt": "string"
    }
  ]
}

Errors

Failures use the standard error envelope. Branch on code, never on the message.

StatusCodeWhen it happens
401invalid_api_keyThe key does not exist, was revoked, or is malformed. Keys start with cdyn_live_.
403insufficient_permissionThe key is missing the scope this endpoint needs, for example posts:write on a readonly key.
429rate_limit_exceededToo many requests for this key. Honour the Retry-After header before retrying.
500internal_errorSomething failed on our side. Retry with the same Idempotency-Key; report the requestId if it persists.