v2.api_keys

Create a native v2 API key

post/api-keys

Request

  • Base URL: https://api.cooud.com/v2
  • URL: https://api.cooud.com/v2/api-keys
  • Auth: HTTP bearer

Headers

Cooud-Compat-Datestring date required

Required per-request compat-date. Format: ISO calendar date YYYY-MM-DD. Merchants pinned to an older date have their request and response transformed by every gate whose appliesAfter is strictly greater than this date.

Request body

livemodetrue

Response

A native live API key. The plaintext token is returned exactly once.

audit_idstring required
createdinteger required
idstring required
last_usedinteger nullable required
livemodetrue required
object'api_key' required
prefix'cooud_sk_live_' required
request_idstring required
revokedfalse required
scopesstring[] required
tokenstring required

Plaintext native v2 API token. Returned only in this create response; store it immediately.

Changes

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