API Keys

List API keys

List all API keys scoped to the specified organization.

get/v3/api-keys

Request

  • Base URL: https://api.creditcoop.xyz
  • URL: https://api.creditcoop.xyz/v3/api-keys
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://clerk.creditcoop.xyz/oauth/authorize, token URL https://clerk.creditcoop.xyz/oauth/token)

Query parameters

organizationIdstring uuid required

Organization ID — only keys belonging to this organization are returned. Example: 550e8400-e29b-41d4-a716-446655440000

Response

Default Response

Example response

{
  "keys": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "organizationId": "550e8400-e29b-41d4-a716-446655440000",
      "keyPrefix": "cc_abc123",
      "lastUsedAt": "2025-01-15T10:30:00Z",
      "expiresAt": "2025-01-15T10:30:00Z",
      "revokedAt": "2025-01-15T10:30:00Z",
      "createdAt": "2025-01-15T10:30:00Z",
      "updatedAt": "2025-01-15T10:30:00Z"
    }
  ]
}

Changes

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