Skip to main content
GET
/
v1
/
tasks
Get tasks
curl --request GET \
  --url https://openapi.enginy.ai/v1/tasks \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "type": "<string>",
      "subject": "<string>",
      "description": "<string>",
      "CRMId": "<string>",
      "completedAt": "2023-11-07T05:31:56Z",
      "dueDate": "2023-11-07T05:31:56Z",
      "notes": "<string>",
      "priority": "LOW",
      "contact": {
        "id": 123,
        "firstName": "<string>",
        "lastName": "<string>",
        "imageUrl": "<string>",
        "mobilePhone": "<string>",
        "jobTitle": "<string>",
        "enrichments": [
          {
            "type": "<string>",
            "phones": [
              "<string>"
            ]
          }
        ]
      },
      "company": {
        "id": 123,
        "name": "<string>",
        "domain": "<string>"
      },
      "campaign": {
        "id": 123,
        "name": "<string>"
      },
      "leadId": 123,
      "companyId": 123,
      "ownerId": "<string>",
      "assignedId": 123,
      "assignedTo": {
        "id": 123,
        "name": "<string>"
      },
      "skippedAt": "2023-11-07T05:31:56Z",
      "parentTaskId": 123
    }
  ],
  "meta": {
    "page": 123,
    "pageSize": 123,
    "total": 123
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

page
integer
default:1
Required range: x >= 1
pageSize
integer
default:25
Required range: 1 <= x <= 100
status
enum<string>
Available options:
due,
skipped,
pending,
upcoming,
completed
ownerId
string
assignedId
integer
crmId
string
campaignIds
integer[] | null
companyIds
integer[] | null
taskIds
integer[] | null
taskType
enum<string>
Available options:
email,
linkedin,
call,
other
dateFrom
string
dateTo
string
statusEndOfDay
string
sortBy
enum<string>
Available options:
createdAt,
completedAt,
dueDate
sortOrder
enum<string>
Available options:
asc,
desc

Response

200 - application/json

Tasks retrieved successfully

data
object[]
required
meta
object
required