Easymailing
Tasks

Get a task

GET /tasks/{uuid}

GET/tasks/{uuid}

Returns one task with its description, status, due date, reminder, person responsible, who created and completed it, the records it is linked to and its current version.

When to use: To read the current state of a task you already identified, for example before changing it or to know who is responsible and whether it is overdue.

When not to use: To find tasks by person, record or date, use list_tasks. To read the notes on a contact, company or opportunity, use list_notes.

Permissions: Requires a CRM seat and the crm.tasks_notes.read capability. A task linked to contacts or companies is only visible to users who also have crm.contacts_companies.read, and a task linked to an opportunity only to users who can see its pipeline; a task the user cannot fully see is treated as if it did not exist.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the task. Get it from list_tasks.

Formatuuid

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/tasks/7c1e5a90-3b24-4d8f-a6e1-0f9d2c4b8a13" \  -H "X-Auth-Token: YOUR_API_KEY"
{  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "title": "string",  "description_html": "string",  "status": "open",  "priority": "none",  "type": "general",  "assignee": {    "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",    "name": "string",    "email": "user@example.com"  },  "due_at": "2019-08-24T14:15:22Z",  "overdue": true,  "reminder_offset_minutes": 0,  "reminder_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z",  "completed_by": {    "kind": "user",    "name": "string"  },  "created_by": {    "kind": "user",    "name": "string"  },  "initiated_via": "ui",  "contacts": [    {      "iri": "/entity/1",      "label": "string",      "secondary": "string"    }  ],  "companies": [    {      "iri": "/entity/1",      "label": "string",      "secondary": "string"    }  ],  "opportunities": [    {      "iri": "/entity/1",      "label": "string",      "secondary": "string"    }  ],  "version": 0,  "can_edit": true,  "can_delete": true,  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}