Skip to main content
GET
/
v1
/
tasks
/
{id}
Get Task
curl --request GET \
  --url https://api.example.com/v1/tasks/{id}
{
  "data": {
    "task": {
      "id": "<string>",
      "title": "<string>",
      "description": "<string>",
      "status": "<string>",
      "priority": "<string>",
      "task_type": "<string>",
      "due_date": "<string>",
      "assigned_to_user_id": "<string>",
      "contact_id": "<string>",
      "deal_id": "<string>",
      "event_id": "<string>",
      "created_date": "<string>",
      "updated_date": "<string>"
    }
  }
}

Request

Path Parameters

id
string
required
The task’s unique ID (UUID)

Headers

Authorization: Bearer wbk_your_api_key_here
Requires an API key with the activities:read permission.

Response

data
object
curl https://data.leadlex.com/functions/v1/api-gateway/v1/tasks/t1a2b3c4-d5e6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer wbk_your_api_key_here"

Example Response

{
  "data": {
    "task": {
      "id": "t1a2b3c4-d5e6-7890-abcd-ef1234567890",
      "title": "Call Jane re: M&A proposal",
      "description": "Walk through section 4 of the draft agreement before Friday.",
      "status": "pending",
      "priority": "high",
      "task_type": "call",
      "due_date": "2026-04-19T15:00:00Z",
      "assigned_to_user_id": "9a8b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d",
      "contact_id": "123e4567-e89b-12d3-a456-426614174000",
      "deal_id": "3f8e1d2c-4b5a-6d7e-8f9a-0b1c2d3e4f5a",
      "event_id": null,
      "created_date": "2026-04-15T10:00:00Z",
      "updated_date": "2026-04-15T10:00:00Z"
    }
  }
}

Errors

StatusCodeDescription
401invalid_keyInvalid or expired API key
403insufficient_permissionsMissing activities:read permission
404task_not_foundNo task with this ID in your workspace
429rate_limitedRate limit exceeded