ai-credits
Update AI credit settings.
Changed onConfigures AI credit exhaustion behavior, usage alert thresholds, and the webhook endpoint for a project. The HMAC signing secret is generated the first time a webhook URL is set and returned exactly once in the response — store it securely; it is never shown again.
put/v3/projects/{id}/ai-credits/settings
Request
- Base URL: https://api.unlayer.com
- URL: https://api.unlayer.com/v3/projects/{id}/ai-credits/settings
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
idstring required
The resource ID
Request body
Response
Default Response
Changes
- breaking
request body became required
- warning
added the new
disableenum value to theresponse property for the response status - warning
added the new
show_errorenum value to theresponse property for the response status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- breaking