Webhook events
Deliveries are POST requests with a JSON body, to the key’s webhook URL.
Headers
Section titled “Headers”| Header | |
|---|---|
Content-Type |
application/json |
Remodeled-Signature |
t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" keyed with the whsec_ secret> |
Remodeled-Event-Id |
The event’s id, the same on every delivery of it |
| Field | Type | |
|---|---|---|
id |
string | Stable per design and outcome, such as evt_01a1ebfd495874a08036fd131dcc3bd2_succeeded |
type |
design.succeeded, design.failed, ping |
|
createdAt |
string | ISO 8601 |
data.design |
Design | For design.* events. ping has data: {} |
design.succeeded
Section titled “design.succeeded”The design finished, and data.design.images holds its images.
design.failed
Section titled “design.failed”The design failed. data.design.error has code and message, and creditsCharged is 0: the credits were refunded.
Sent when you press Send test event for the key in the app. Answer 2xx.
How to check signatures, and how retries work: Webhooks guide.