API Keys
Create API Key
Generate a new API key scoped to specific instances and permissions.
POST
Create an API key that grants access to one or more instances within your organization. Every key is scoped with explicit permissions so you can hand out only the access that’s actually needed.
Authorization
Requires an organization-level API key in theAuthorization header.
Request Body
A human-readable name for the key. Pick something descriptive — you’ll thank yourself later when you’re staring at a list of keys.
Optional ISO 8601 datetime string. If set, the key automatically becomes inactive after this time. If omitted, the key lives until you revoke it.
Response
The full API key, prefixed with
chd_sk_. This is the value you’ll use in Authorization headers.