Tasks

Tasks are the manual steps of a campaign: phone calls, LinkedIn messages and connection requests, profile views and general to-dos. An assistant can list what is due and mark steps done.

List tasks

# expect 200
curl -sS "https://api.mailshake.com/2017-04-01/tasks/list" \
  -H "Authorization: Bearer $MAILSHAKE_API_KEY"

Needs campaigns:read. Filters and paging are in the reference.

Complete a task

curl -sS https://api.mailshake.com/2017-04-01/tasks/update \
  -H "Authorization: Bearer $MAILSHAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"recipientTaskID": 456, "markCompletedPositive": true}'

Needs campaigns:write. A task that isn't yours answers 404 not_found.