API Keys
Create API key
Create a new API key for the specified organization. The key authenticates requests as a member of that organization.
post/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)
Request body
Response
Default Response
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"organizationId": "550e8400-e29b-41d4-a716-446655440000",
"keyPrefix": "cc_abc123",
"expiresAt": "2025-01-15T10:30:00Z",
"createdAt": "2025-01-15T10:30:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.