Manage API keys, authenticate requests, and resolve errors.
Create a scoped API key, copy its secret once, and revoke it when it is no longer needed.
Send a Threetone API key in the x-api-key header and keep the credential out of client code.
Diagnose 401 and 403 responses from API key authentication and authorization checks.
Use a 422 response to find the invalid field and correct the request shape or value.
Back off after 429 responses and retry safe operations carefully after temporary server failures.