Error
API keys
Create API key
Create a new API key with explicit scopes. The full key is returned once — store it securely; it cannot be retrieved again.
POST
Error
Authorizations
Questra Program session token or workspace API key (qpk_live_…)
Body
application/json
Minimum string length:
1Example:
"CI deploy"
Non-empty list of scopes. Pass * for full workspace access.
Minimum array length:
1Available options:
*, meta:read, members:read, members:write, billing:read, billing:write, privacy:read, privacy:write, integrations_settings:read, integrations_settings:write, programming_settings:read, programming_settings:write, api_keys:read, api_keys:write, webhooks:read, webhooks:write, surveys:read, surveys:write, surveys:share, integrations:read, integrations:write, workflows:read, workflows:write Example:
Optional expiry. Omit or null for a non-expiring key.
Example:
null
Response
API key created