Unknown
Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.image.created payload.
application/json- body
The v2.image.created webhook payload.
image*The image.
occurred_at*stringWhen the image was created on the platform, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order an image's events by this field.
date-timeorganization_id*stringThe ID of the organization that owns the image.
uuidproject_id*stringThe ID of the project that owns the image.
uuidtimestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.image.created.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.image.created webhook payload.
{ "image": { "class": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "name": "string", "origin": "registry", "region_id": "string", "status": "pending" }, "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created"}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.image.deleted payload.
application/json- body
The v2.image.deleted webhook payload.
image*The image as it was when it was deleted.
occurred_at*stringWhen the image was deleted, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order an image's events by this field.
date-timeorganization_id*stringThe ID of the organization that owned the image.
uuidproject_id*stringThe ID of the project that owned the image.
uuidtimestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.image.deleted.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.image.deleted webhook payload.
{ "image": { "class": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "name": "string", "origin": "registry", "region_id": "string", "status": "pending" }, "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created"}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.image.status_changed payload.
application/json- body
The v2.image.status_changed webhook payload.
from_status*ImageStatusThe status before the change.
"pending""building""ready""failed"image*The image, with its status after the change.
occurred_at*stringWhen the status changed, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order an image's events by this field.
date-timeorganization_id*stringThe ID of the organization that owns the image.
uuidproject_id*stringThe ID of the project that owns the image.
uuidtimestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.image.status_changed.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.image.status_changed webhook payload.
{ "from_status": "pending", "image": { "class": "string", "created_at": "2019-08-24T14:15:22Z", "id": "string", "name": "string", "origin": "registry", "region_id": "string", "status": "pending" }, "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created"}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.sandbox.created payload.
application/json- body
The v2.sandbox.created webhook payload.
occurred_at*stringWhen the sandbox was created on the platform, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order a sandbox's events by this field.
date-timeorganization_id*stringThe ID of the organization that owns the sandbox.
uuidproject_id*stringThe ID of the project that owns the sandbox.
uuidsandbox*The sandbox.
timestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.sandbox.created.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.sandbox.created webhook payload.
{ "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "sandbox": { "class": "linux", "created_at": "2019-08-24T14:15:22Z", "id": "string", "labels": { "property1": "string", "property2": "string" }, "name": "string", "region_id": "string", "status": "queued" }, "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created"}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.sandbox.status_changed payload.
application/json- body
The v2.sandbox.status_changed webhook payload.
from_status*SandboxStatusThe status before the change.
"queued""pending""assigned""booting""running""pausing""paused""stopping""stopped""deleting""deleted""failed""lost"occurred_at*stringWhen the status changed, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order a sandbox's events by this field. Two steps of one change can, rarely, carry the same value.
date-timeorganization_id*stringThe ID of the organization that owns the sandbox.
uuidproject_id*stringThe ID of the project that owns the sandbox.
uuidsandbox*The sandbox, with its status after the change.
timestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.sandbox.status_changed.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.sandbox.status_changed webhook payload.
{ "from_status": "queued", "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "sandbox": { "class": "linux", "created_at": "2019-08-24T14:15:22Z", "id": "string", "labels": { "property1": "string", "property2": "string" }, "name": "string", "region_id": "string", "status": "queued" }, "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created"}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.snapshot.created payload.
application/json- body
The v2.snapshot.created webhook payload.
occurred_at*stringWhen the snapshot was created on the platform, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order a snapshot's events by this field.
date-timeorganization_id*stringThe ID of the organization that owns the snapshot.
uuidproject_id*stringThe ID of the project that owns the snapshot.
uuidsnapshot*The snapshot.
timestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.snapshot.created.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.snapshot.created webhook payload.
{ "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "snapshot": { "class": "linux", "created_at": "2019-08-24T14:15:22Z", "id": "string", "kind": "full", "name": "string", "region_id": "string", "status": "pending" }, "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created"}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.snapshot.deleted payload.
application/json- body
The v2.snapshot.deleted webhook payload.
occurred_at*stringWhen the snapshot was deleted, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order a snapshot's events by this field.
date-timeorganization_id*stringThe ID of the organization that owned the snapshot.
uuidproject_id*stringThe ID of the project that owned the snapshot.
uuidsnapshot*The snapshot as it was when it was deleted.
timestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.snapshot.deleted.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.snapshot.deleted webhook payload.
{ "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "snapshot": { "class": "linux", "created_at": "2019-08-24T14:15:22Z", "id": "string", "kind": "full", "name": "string", "region_id": "string", "status": "pending" }, "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created"}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.snapshot.status_changed payload.
application/json- body
The v2.snapshot.status_changed webhook payload.
from_status*SnapshotStatusThe status before the change.
"pending""building""ready""failed"occurred_at*stringWhen the status changed, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order a snapshot's events by this field.
date-timeorganization_id*stringThe ID of the organization that owns the snapshot.
uuidproject_id*stringThe ID of the project that owns the snapshot.
uuidsnapshot*The snapshot, with its status after the change.
timestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.snapshot.status_changed.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.snapshot.status_changed webhook payload.
{ "from_status": "pending", "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "snapshot": { "class": "linux", "created_at": "2019-08-24T14:15:22Z", "id": "string", "kind": "full", "name": "string", "region_id": "string", "status": "pending" }, "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created"}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.volume.created payload.
application/json- body
The v2.volume.created webhook payload.
occurred_at*stringWhen the volume was created on the platform, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order a volume's events by this field.
date-timeorganization_id*stringThe ID of the organization that owns the volume.
uuidproject_id*stringThe ID of the project that owns the volume.
uuidtimestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.volume.created.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"volume*The volume.
The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.volume.created webhook payload.
{ "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created", "volume": { "created_at": "2019-08-24T14:15:22Z", "id": "string", "name": "string", "status": "ready", "type": "disk" }}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.volume.status_changed payload.
application/json- body
The v2.volume.status_changed webhook payload.
from_status*VolumeStatusThe status before the change.
"ready""deleting""deleted""error"occurred_at*stringWhen the status changed, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order a volume's events by this field.
date-timeorganization_id*stringThe ID of the organization that owns the volume.
uuidproject_id*stringThe ID of the project that owns the volume.
uuidtimestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.volume.status_changed.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"volume*The volume, with its status after the change. A deleted volume has the status deleted.
The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.volume.status_changed webhook payload.
{ "from_status": "ready", "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created", "volume": { "created_at": "2019-08-24T14:15:22Z", "id": "string", "name": "string", "status": "ready", "type": "disk" }}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.wallet.depleted payload. Sent when the wallet balance has run out and the organization is being suspended: the same decision as the depleted-balance email.
application/json- body
The v2.wallet.depleted webhook payload.
occurred_at*stringWhen the platform found the wallet depleted and requested the organization's suspension, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order a wallet's events by this field.
date-timeorganization_id*stringThe ID of the organization that owns the wallet.
uuidtimestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.wallet.depleted.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"wallet*The wallet.
The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.wallet.depleted webhook payload.
{ "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created", "wallet": { "balance_cents": 0, "currency": "string", "free_credits_balance_cents": 0, "paid_credits_balance_cents": 0 }}Sent as an HTTP POST with a JSON body to each of the organization's webhook endpoints that subscribes to this event type. Every delivery carries three headers: svix-id, the message ID, which stays the same when a delivery is retried; svix-timestamp, the send time in seconds since the Unix epoch; and svix-signature, the signature. To verify a delivery, pass the raw request body, before parsing it, and the three headers to a Svix webhook verification library, with the endpoint's signing secret (whsec_...) from the dashboard's Webhooks page. Reject a delivery whose signature does not verify or whose timestamp is more than five minutes from the current time. Deduplicate deliveries on svix-id. Deliveries are not ordered; order the events of one resource (a sandbox, volume, image, snapshot, or the wallet) by their occurred_at.
The v2.wallet.low_balance payload. Sent when the wallet's free and paid credits, after the month's unbilled usage, are at or below the organization's low-balance notification threshold: the same decision as the low-balance email. wallet.balance_cents leaves that usage out and can be above threshold_cents.
application/json- body
The v2.wallet.low_balance webhook payload.
currency*stringThe lowercase ISO 4217 currency code of the threshold.
occurred_at*stringWhen the platform found the balance at or below the threshold, as an RFC 3339 timestamp in UTC with microsecond precision. Deliveries are not ordered; order a wallet's events by this field.
date-timeorganization_id*stringThe ID of the organization that owns the wallet.
uuidthreshold_cents*integerThe organization's low-balance notification threshold in cents. The event is sent when the wallet's promotional plus purchased credit balance is at or below it.
int64timestamp*stringWhen the webhook was sent, as an RFC 3339 timestamp in UTC.
date-timetype*WebhookEventTypeThe event type, v2.wallet.low_balance.
"v2.sandbox.created""v2.sandbox.status_changed""v2.volume.created""v2.volume.status_changed""v2.image.created""v2.image.status_changed""v2.image.deleted""v2.snapshot.created""v2.snapshot.status_changed""v2.snapshot.deleted""v2.wallet.low_balance""v2.wallet.depleted"wallet*The wallet.
The delivery was received. Any 2xx status acknowledges it; any other status, or no answer, is retried.
The v2.wallet.low_balance webhook payload.
{ "currency": "string", "occurred_at": "2019-08-24T14:15:22Z", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "threshold_cents": 0, "timestamp": "2019-08-24T14:15:22Z", "type": "v2.sandbox.created", "wallet": { "balance_cents": 0, "currency": "string", "free_credits_balance_cents": 0, "paid_credits_balance_cents": 0 }}