Skip to main content
WEBHOOK
Sent when a task is deleted. This payload contains identifiers only, with no snapshot. Remove your local copy instead of fetching the deleted record. Scheduled and unapproved tasks do not emit these events. Verify the raw request body before processing. See the webhook overview for signing, retries, subscription context, and ordering.

Headers

svix-id
string
required

Delivery message ID. Use for idempotency; overlapping subscriptions have distinct IDs.

svix-timestamp
string
required

Unix timestamp used for signature verification.

svix-signature
string
required

Signature(s) to verify with the endpoint signing secret and a Svix verification library.

Body

application/json

JSON payload sent to your configured webhook endpoint.

subscription_id
string
required

Subscription that caused this delivery.

user_id
string
required

Subscribed Slant user.

book_id
string
required

Book containing the record.

company_id
string
required

Company that owns the book.

event_type
string
required
Allowed value: "task.deleted"
id
string
required

ID of the deleted task.

Response

200

Return a successful 2xx response promptly after verifying and durably accepting the delivery. Non-success responses can cause retries.