Claim (mint) a new API key
POST/v1/partner/supplier-access/mint
Issues a new api_key + rotation_secret under the partner account bound to the regen session. The plaintext credentials are returned ONCE in the response body and never shown again. A partner_key_issued notification fires to every notification email on the account (no key in the body).
expires_interval_days selects the key lifetime: omit for the default (90 days / 3 months), pass one of {30,90,180,365}, or null for never. Rotations later default to the same interval unless overridden.
Request
Responses
- 201
- 400
- 401
- 409
- 410
- 429
Key issued. Save credentials NOW — they will not be shown again.
Validation error (missing fields, bad label length, bad interval).
Invalid or expired claim_token.
A key with the given label already exists in this account.
Session used or account no longer active.
Rate limit exceeded.