Skip to main content
WEBHOOK
Sent when an eligible task is created. Initial rich text and tags do not also emit task.updated. The snapshot is prepared asynchronously and may reflect changes made after the triggering event. Use its updated_at to reconcile local state. Scheduled and unapproved tasks do not emit these events. Fetch the current task with GET /v1/tasks/{id}. 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.created"
id
string
required

ID of the affected task.

task
object
required

Response

200

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