GoHighLevel Contacts API
Create Task
/contacts/:contactId/tasksPOST /contacts/:contactId/tasks Create a task against a contact, with a due date and an assignee, so follow-up work shows up in that user's task list. It takes 1 path parameter and 5 body fields, requires the contacts.write scope and authenticates with a sub-account (location) token.
Request and authentication
- Method
POST- Full URL
https://services.leadconnectorhq.com/contacts/:contactId/tasks- Scopes
contacts.write- Token type
- Sub-account (location) token
- Accepted auth
- OAuth Access Token, Private Integration Token
- API version header
Version: 2021-07-28- Schema verified
- 7 November 2026
Notes from the field
- `contactId` goes in path_params. `title`, `dueDate` (ISO 8601) and `completed` (false for a new task) are required.
- A row that failed with a timeout or 5xx may still have been created, and GHL doesn't refuse a duplicate task. Check the contact's tasks before re-running that row.
This endpoint is safe to fan out in parallel, so a batch of records costs roughly one round trip instead of one per record. Hylo's bulk tools do that server-side and retry HighLevel's 429s with back-off.
Path parameters
Substituted into the URL. Required by definition.
| Name | Type | Description |
|---|---|---|
contactIdrequired | string | Example: |
Request body
JSON body fields. Nested objects are shown indented under their parent.
| Name | Type | Description |
|---|---|---|
titlerequired | string | Example: |
body | string | Example: |
dueDaterequired | string | Example: |
completedrequired | boolean | Example: |
assignedTo | string | Example: |
Response fields
Top-level fields returned on a successful call.
| Name | Type | Description |
|---|---|---|
task | object | — |
id | string | Example: |
title | string | Example: |
body | string | Example: |
assignedTo | string | Example: |
dueDate | string | Example: |
completed | boolean | Example: |
contactId | string | Example: |
Example request
Copy-paste ready. Swap YOUR_TOKEN for your access token or Private Integration Token, and the sample ID for your own.
curl -X POST 'https://services.leadconnectorhq.com/contacts/sx6wyHhbFdRXh302LLNR/tasks' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Version: 2021-07-28' \
-H 'Content-Type: application/json' \
-d '{
"title": "First Task",
"dueDate": "2020-10-25T11:00:00Z",
"completed": true
}'Skip the schema lookup
Hylo gives your AI agent this schema — and the other 53 documented here — without you looking anything up. Ask in plain English; it picks the endpoint, fills the body, and can run the call against your own sub-account.
More contacts endpoints
- Add Followers ContactPOST /contacts/:contactId/followers
- Add Remove Contact From BusinessPOST /contacts/bulk/business
- Add TagsPOST /contacts/:contactId/tags
- Create AssociationPOST /contacts/bulk/tags/update/:type
- Create ContactPOST /contacts/
- Create NotePOST /contacts/:contactId/notes
- All GoHighLevel Contacts endpointsCategory index
- GoHighLevel API referenceEvery category, webhooks, and OAuth scopes