Create Task
POST/crm/tasks
Create Task
Request
Query Parameters
The ID of the credential.
Header Parameters
Default value: bearer YOUR_API_KEY
- application/json
Body
The title or subject of the task, providing a quick overview.
The detailed description or content of the task.
The name or identifier of the individual or team responsible for completing the task.
The name or identifier of the sales opportunity associated with the task.
The date on which the task was completed.
The date by which the task is expected to be completed.
The current status of the task, such as 'Pending', 'In Progress', or 'Completed'.
An object containing remote fields that are not supported by the common model. The keys are the names of the fields of the corresponding resource in the remote app, and the values can be strings, numbers, arrays or objects.
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
task
object
Default value: true
{
"task": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "1000000000001",
"taskSubject": "Update Project Plan",
"taskContent": "Review and update the project plan for Q4 initiatives",
"taskOwner": "1000000000002",
"taskOpportunity": "Opportunity-01",
"completedDate": {},
"dueDate": "2023-12-05",
"taskStatus": "In Progress",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
{
"task": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "1000000000001",
"taskSubject": "Update Project Plan",
"taskContent": "Review and update the project plan for Q4 initiatives",
"taskOwner": "1000000000002",
"taskOpportunity": "Opportunity-01",
"completedDate": null,
"dueDate": "2023-12-05",
"taskStatus": "In Progress",
"remoteCreatedAt": "2023-11-19T17:00:17.000Z",
"remoteUpdatedAt": "2023-11-19T17:00:17.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:17:53.264Z",
"updatedAt": "2024-02-22T13:54:03.445Z"
}
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
{}
{}