Skip to navigation

Events

Overview

Deel provides a comprehensive set of webhook events across all services. Each event represents a specific action or state change in your Deel account, allowing you to build real-time integrations.

  • 100+ Events: Events for contracts, payments, workers, and more
  • Detailed Payloads: Each event includes relevant resource data
  • Easy Discovery: Browse events via API or Developer Center

Discovering Available Events

There are two ways to explore all available webhook events:

Via API

Use the webhook events endpoint to retrieve the complete list programmatically:

cURL
curl 'https://api.letsdeel.com/rest/webhooks/events/types' \
-H 'Authorization: Bearer YOUR_API_TOKEN'

Response format:

{
"data": [
{
"id": 42,
"module_name": "payslips",
"module_label": "Payslips",
"name": "eor.payslips.available",
"description": "Triggered when EOR payslips are available",
"payload_example": "{\"data\":{\"meta\":{\"event_type\":\"eor.payslips.available\",\"organization_id\":\"7c9e6679-7425-40de-944b-e07fc1f90ae7\"},\"resource\":[{}]},\"timestamp\":\"2025-02-05T15:39:38.070Z\"}",
"created_at": "2023-11-10T11:08:20.194Z",
"updated_at": "2025-02-07T11:47:35.635Z"
}
]
}

Via Developer center

For a visual experience, use the Deel Developer Center:

2

Open the Event catalog

Select Webhooks, then click Event catalog

3

View available events

The catalog lists every event, grouped by module. Use Search events to find one. Each event shows its name and description.

4

Preview event payloads

Select an event to see its example payload, the request headers, and how to verify the signature

Pro tip: When you create an endpoint, quick picks such as ATS and Contracts select a whole group of events at once.

Event Payload Structure

All webhook events follow a consistent structure:

{
"data": {
"meta": {
"event_type": "contract.created",
"organization_id": "org_abc123",
"event_id": "evt_xyz789",
"occurred_at": "2025-02-05T15:39:38.070Z"
},
"resource": [
{
// Event-specific data
"contract_id": "ctr_123456",
"worker_email": "worker@example.com",
"status": "pending",
"type": "eor",
"country": "US"
// ... more fields specific to the event
}
]
},
"timestamp": "2025-02-05T15:39:38.070Z"
}

Payload components

Contains metadata about the event:

  • event_type: The event that occurred
  • organization_id: Your organization ID
  • event_id: Unique identifier for this event
  • occurred_at: When the event happened

Contains the resource that changed:

  • Structure varies by event type
  • Always includes IDs for lookups
  • May contain nested objects
  • Includes all relevant resource fields

When the webhook was sent:

  • ISO 8601 formatted timestamp
  • When webhook was delivered (not when event occurred)
  • Use for logging and debugging
  • May differ slightly from occurred_at

Important HTTP headers included with every webhook:

  • x-deel-signature: HMAC-SHA256 signature to verify authenticity
  • x-deel-webhook-version: API version used for serialization
  • x-deel-hmac-label: Identifies which signing key was used

Viewing Event Payloads

In Developer center

The Developer Center provides a visual way to explore event payloads:

1

Open the Event catalog

On the Webhooks page in the Developer Center, click Event catalog

2

Select an event

Find the event with Search events, then select it. Open the Payload tab to see an example payload, or the Headers tab to see the request headers.

3

Copy for testing

Click Copy to copy the example payload, then use it to test your integration

Via API response

When you retrieve events from the API, each event includes payload_example, a JSON string that holds a sample payload for that event. Parse it to read its fields:

cURL
curl 'https://api.letsdeel.com/rest/webhooks/events/types' \
-H 'Authorization: Bearer YOUR_API_TOKEN'

Find the event in the response array (for example, contract.created) and parse its payload_example string. The parsed object has the webhook structure: data.meta, data.resource, and timestamp.

Filtering Events

When creating a webhook subscription, you can filter which events you receive:

Subscribe to specific events

cURL
curl -X POST 'https://api.letsdeel.com/rest/webhooks' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Contract events",
"description": "Subscribe only to contract events",
"status": "enabled",
"url": "https://yourapp.com/webhooks/deel",
"api_version": "v2",
"events": ["contract.created", "contract.status.updated", "contract.terminated"]
}'

Next Steps