Deel
API actions for the Deel integration.
Deel
Automate contract, task, and invoice workflows using the Deel API.
Create task
Creates a new task on a Deel contract with the specified title, amount, and currency.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
contract_id | string | Yes | The Deel contract ID to attach the task to. |
title | string | Yes | Title of the task. |
amount | number | Yes | Payment amount for the task. |
currency | string | Yes | Currency code for the task amount (e.g., USD, EUR). |
description | string | No | Optional description of the task. |
Response
{
"status": "mock_value",
"task": {}
}Get contract details
Fetches detailed information for a specific Deel contract.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
contract_id | string | Yes | The Deel contract ID to fetch. |
Response
{
"contract": {},
"status": "mock_value"
}List contracts
Retrieves contracts from Deel, optionally filtered by status.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Optional status filter for contracts. |
page | number | No | Page number for pagination (defaults to 1). |
Response
{
"contracts": [
{}
],
"status": "mock_value"
}List invoices
Retrieves invoices from Deel, optionally filtered by status.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | No | Optional status filter for invoices. |
page | number | No | Page number for pagination (defaults to 1). |
Response
{
"invoices": [
{}
],
"status": "mock_value"
}Review task
Approve or decline a task on a Deel contract.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
contract_id | string | Yes | The Deel contract ID containing the task. |
task_id | string | Yes | The task ID to review. |
status | string | Yes | Review status: 'approved' or 'declined'. |
Response
{
"id": "mock_value",
"status": "approved"
}