Your Implementation Required
These endpoints must be implemented on your server
Single Task Operations
Create Task
Creates a new task in your CRM.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
subject | string | ✅ Yes | The task title/subject |
description | string | No | Detailed description or notes for the task |
type | string | No | Task type (e.g., “call”, “email”, “meeting”) |
ownerId | string | No | ID of the user who owns the task in your system |
dueDate | string (ISO 8601) | No | When the task is due (e.g., 2024-01-15T10:00:00Z) |
contactId | string | No | ID of the associated contact/lead in your CRM |
companyId | string | No | ID of the associated company in your CRM |
Example Request
Response
Return the created task with at least anid field:
Get Task
Retrieves a single task by ID.Path Parameters
| Parameter | Type | Description |
|---|---|---|
taskId | string | The task ID returned from create |
Response
Update Task (Complete)
Updates a task, typically to mark it as completed.Path Parameters
| Parameter | Type | Description |
|---|---|---|
taskId | string | The task ID to update |
Request Body
| Field | Type | Description |
|---|---|---|
completed | boolean | Set to true to mark the task as completed |
Example Request
Response
Return the updated task:Batch Operations
Genesy uses batch endpoints to minimize API calls and improve performance. Instead of making individual requests for each task, Genesy will batch multiple operations into single requests.
Get Tasks Batch
Retrieves multiple tasks in a single request.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
ids | string[] | ✅ Yes | Array of task IDs to retrieve |
Example Request
Response
Return an array of tasks. Tasks that don’t exist should be omitted from the response (don’t return errors for missing tasks).Complete Tasks Batch
Marks multiple tasks as completed in a single request.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
ids | string[] | ✅ Yes | Array of task IDs to complete |
completed | boolean | ✅ Yes | Set to true to mark tasks as completed |
Example Request
Response
Return an array of the updated tasks:Task Schema Reference
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✅ Yes | Unique identifier for the task |
subject | string | ✅ Yes | Task title/subject |
description | string | No | Detailed notes |
type | string | No | Task category |
ownerId | string | No | Assigned user ID |
dueDate | string (ISO 8601) | No | Due date/time |
contactId | string | No | Associated contact ID |
companyId | string | No | Associated company ID |
completed | boolean | No | Completion status |
completedAt | string (ISO 8601) | No | When the task was completed |
Testing Your Tasks API
Before connecting to Genesy, test your task endpoints:1
Test Task Creation
2
Test Batch Get Tasks
3
Test Batch Complete Tasks