Approvals (Beta)

List approval keys

List the approval public keys registered for the specified API user.

Endpoint Permission: Owner, Admin, Non-Signing Admin, Approver, Signer, Security Admin, Security Auditor.

get/management/api_users/{userId}/approval_keys

Request

Path parameters

userIdstring required

The ID of the API user whose approval keys to list.

Query parameters

pageSizeinteger

Number of results per page. Maximum 15. Defaults to 10.

pageCursorstring

Cursor returned from the previous response (the next field) to fetch the next page.

Response

The API user's approval keys.

nextstring

Cursor for the next page of results. Pass it back as the pageCursor query param to fetch the next page. Empty or absent when this is the last page.

Example response

{
  "data": [
    {
      "id": "fab543c0-d6be-414c-aa05-5c6c84269d7a",
      "name": "primary signing key",
      "createdAt": "1750000000",
      "lastUsedAt": "1750600000",
      "approvalApiPublicKey": {
        "algorithm": "ECDSA_SECP256R1",
        "publicKeyPem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQ...\n-----END PUBLIC KEY-----"
      },
      "userId": "8f3c1a2e-4b7d-4c91-a0e5-2d6f8b1c3a94",
      "status": "APPROVAL_API_KEY_STATUS_ENABLED"
    }
  ],
  "next": "cursor for the next page"
}

Changes

No recorded changes to this operation across all 1 revision of this API.