ai-credits

List AI credit webhook deliveries.

Changed on

Returns the webhook delivery history for the project, newest first — the event, delivery status, attempt count, and last response code for each. Use it to spot failed deliveries and drive the retry endpoint. Payloads expose credits only.

get/v3/projects/{id}/ai-credits/webhooks/deliveries

Request

  • Base URL: https://api.unlayer.com
  • URL: https://api.unlayer.com/v3/projects/{id}/ai-credits/webhooks/deliveries
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required

The resource ID

Query parameters

status'pending' | 'delivered' | 'failed'

Filter to a single delivery status.

event'ai.credits.usage_recorded' | 'ai.credits.threshold_reached' | 'ai.credits.exhausted'

Filter to a single event type.

limitinteger

Max deliveries to return (1-100).

offsetinteger

Number of deliveries to skip (pagination).

Response

Default Response

totalinteger required

Total deliveries matching the filter (ignores limit/offset).

Changes

    • breaking

      the // response's property format changed from no format to date-time for status

    • warning

      added the new ai.credits.exhausted enum value to the // response property for the response status

    • warning

      added the new ai.credits.threshold_reached enum value to the // response property for the response status

    • warning

      added the new ai.credits.usage_recorded enum value to the // response 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

    • 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

    • 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