Tasks

List and retrieve tasks associated with your contacts.

GET /api/contact_tasks

Retrieves the collection of ContactTask resources.

Example request

curl -X GET "https://www.letsligo.com/api/contact_tasks" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"

Request parameters

Name Type Description Required
page integer The collection page number No

Response example

{
    "@context": "/api/contexts/ContactTask",
    "@id": "/api/contact_tasks",
    "@type": "hydra:Collection",
    "hydra:member": [
        {
            "@id": "/api/contact_tasks/323e4567-e89b-12d3-a456-426614174000",
            "@type": "ContactTask",
            "title": "Appeler pour suivi",
            "type": "call",
            "dueDate": "2025-03-20T10:00:00+00:00",
            "completed": false,
            "contact": "/api/contacts/123e4567-e89b-12d3-a456-426614174000"
        }
    ],
    "hydra:totalItems": 1
}

Response attributes

Name Type Description
member[].contact string (iri-reference) IRI reference to the linked contact.
member[].title string Task title (required).
member[].type string: call | email | meeting | follow_up | proposal | quote | other Task type: call, email, meeting, follow_up, proposal, quote, or other.
member[].taskKind string: manual | validate_linkedin_profile_change | linkedin_recontact_wizard | linkedin_new_relation_onboarding
member[].payload object, nullable
member[].description string Optional task description or notes.
member[].dueDate string (date-time) Due date and time (ISO 8601, required).
member[].completed boolean Whether the task has been completed.
member[].completedAt string (date-time) Date and time when the task was completed (read-only).
GET /api/contact_tasks/{id}

Retrieves a ContactTask resource.

Example request

curl -X GET "https://www.letsligo.com/api/contact_tasks/323e4567-e89b-12d3-a456-426614174000" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"

Request parameters

Name Type Description Required
id string ContactTask identifier Yes

Response example

{
    "@context": "/api/contexts/ContactTask",
    "@id": "/api/contact_tasks/323e4567-e89b-12d3-a456-426614174000",
    "@type": "ContactTask",
    "title": "Appeler pour suivi",
    "type": "call",
    "description": "Relance après meeting salon",
    "dueDate": "2025-03-20T10:00:00+00:00",
    "completed": false,
    "contact": "/api/contacts/123e4567-e89b-12d3-a456-426614174000"
}

Response attributes

Name Type Description
contact string (iri-reference) IRI reference to the linked contact.
title string Task title (required).
type string: call | email | meeting | follow_up | proposal | quote | other Task type: call, email, meeting, follow_up, proposal, quote, or other.
taskKind string: manual | validate_linkedin_profile_change | linkedin_recontact_wizard | linkedin_new_relation_onboarding
payload object, nullable
description string Optional task description or notes.
dueDate string (date-time) Due date and time (ISO 8601, required).
completed boolean Whether the task has been completed.
completedAt string (date-time) Date and time when the task was completed (read-only).