Skip to content

HR & payroll

Deel mock API

Deel API: contracts and tasks, people, invoices and payments, timesheets, time off and webhooks with signed delivery.

At a glance

Operations
609
Stateful operations
28
Stateful resources
6
Webhook events
2
Vendor API version
REST 2026-01-01 (stable; spec info.version 1.0.0)
Verification
Spec-verified

How it works

Use Deel without calling Deel, Inc.

Authorization: Bearer deel_YourApiToken

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Contracts and tasks7
People3
Invoices and payments3
Timesheets5
Time off4
Webhooks6

Webhooks

Events your handlers can receive

Deliveries are signed with the hmac scheme, so your verification code runs unchanged.

Coverage

609 operations

28 of them are stateful. The largest groups:

GroupOperations
Other operations581
Contracts and tasks7
Webhooks6
Timesheets5
Time off4
Invoices and payments3

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

9 operations cannot be checked against the specification.

Source and limits

License, source and limits

Each collection (contracts, contract tasks, people, invoices, payments, timesheets, time off, webhooks) holds up to 1 MiB of objects per API token; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Everything is served under the /rest base path. Stateful: contracts (create with the {data} envelope — missing data.title or data.worker answers 400 — plus list with after_cursor, limit, statuses, types, external_id, search and order_direction, get, patch of external_id) and contract tasks (create, list, delete); people (create a direct employee, list with search, hiring_statuses, offset and limit, get); invoices and payments are seeded read-only (invoice status filter and offset paging; the date filters, cursor and include parameters are accepted but ignored); timesheets (create, list with contract_id, statuses, offset and limit, get, patch of quantity and description, delete); time off (create, list with status, start_date, page_size and a next cursor, patch, delete; page_size is accepted below the vendor minimum of 5); webhooks (create, list with status, search, limit and cursor, get, patch, delete, and the seeded event types contract.created, contract.status.updated and contract.terminated). Contract status moves through PATCH data.status (in_progress, completed or cancelled; completed and cancelled are terminal; a contract cannot complete before it is signed) — an extension, because the vendor patch only takes external_id and the real lifecycle runs through the signature and termination endpoints, which answer schema-valid samples. Webhook create reads its fields at the top level (as the spec declares) or inside {data}; a signing_key shorter than 32 characters answers 400 and an omitted one is generated (40 characters). Deliveries: contract.created (POST /contracts) and contract.status.updated (a PATCH that carries data.status) are signed with the webhook's signing_key as x-deel-signature = hex(HMAC-SHA256(signing_key, "POST" + raw body)), plus x-deel-hmac-label and x-deel-webhook-version; the seeded webhook is disabled and contract.terminated and every other Deel event are listed but never emitted. Array query parameters (statuses, types) accept a single value. Only 401 carries a failure container with the request object; 403 and rate limits are not produced. The seeded timesheet and the seeded webhook share one id so a single conformance path parameter id fits both. Every other operation answers a schema-valid sample.

MaxoPerf is not affiliated with, endorsed by, or sponsored by Deel, Inc. Deel is a trademark of its owner.