Campaign tracking

Complete a manual task

Marks the task of one contact as done (ok, event TASK_COMPLETED) or failed (ko, event TASK_FAILED) and moves the contact to the next step. A task can only be completed once.

post/advanced/campaigns/{campaignId}/manual-tasks/status

Request

  • Base URL: https://api.emelia.io
  • URL: https://api.emelia.io/advanced/campaigns/{campaignId}/manual-tasks/status
  • Auth: API key in header Authorization

Path parameters

campaignIdstring required

MongoDB ObjectId: 24 hexadecimal characters.

Example:6650f1a2b839d80011c5a0f1

Identifier of a multichannel campaign (24 hexadecimal characters), as returned by POST /advanced/campaigns or GET /advanced/campaigns.

Request body

contactIdstring required

MongoDB ObjectId: 24 hexadecimal characters.

taskIdstring required

taskId from the list of tasks.

status'ok' | 'ko' required

Example request

{
  "contactId": "6650f1a2b839d80011c5a0f1"
}

Response

Success.

successtrue required

Changes

No recorded changes to this operation across all 1 revision of this API.