PATCH
https://stoplight.io/mocks/replyteam/reply/765516802
/
tasks
/
{id}
curl --request PATCH \
  --url https://stoplight.io/mocks/replyteam/reply/765516802/tasks/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "tsk_BpJ6tO8N",
  "ownerId": "usr_4vaUcQhFQw",
  "taskType": "call",
  "status": "pending",
  "description": "Follow-up call about pricing",
  "contactId": "cnt_TYy2tE4L",
  "accountId": "acc_vAj3fM9U",
  "sequenceId": "seq_b0AA9ZgN",
  "stepNumber": 3,
  "dueDate": "2025-04-25",
  "createdAt": "2025-04-20T09:41:22Z",
  "updatedAt": "2025-04-20T09:41:22Z",
  "lastInteraction": {
    "date": "2025-04-18T15:02:12Z",
    "type": "email",
    "result": "Opened"
  },
  "data": {
    "phoneNumber": "+1234567890",
    "notes": "Discuss pricing options and current challenges",
    "duration": 30
  }
}'
{
  "id": "tsk_BpJ6tO8N",
  "ownerId": "usr_4vaUcQhFQw",
  "taskType": "call",
  "status": "pending",
  "description": "Follow-up call about pricing",
  "contactId": "cnt_TYy2tE4L",
  "accountId": "acc_vAj3fM9U",
  "sequenceId": "seq_b0AA9ZgN",
  "stepNumber": 3,
  "dueDate": "2025-04-25",
  "createdAt": "2025-04-20T09:41:22Z",
  "updatedAt": "2025-04-20T09:41:22Z",
  "lastInteraction": {
    "date": "2025-04-18T15:02:12Z",
    "type": "email",
    "result": "Opened"
  },
  "data": {
    "phoneNumber": "+1234567890",
    "notes": "Discuss pricing options and current challenges",
    "duration": 30
  }
}

Path Parameters

id
string
required

Task Id

Body

application/json

Represents a task in the system

Response

200 - application/json

Task updated successfully

Represents a task in the system