myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Update task

PATCH

/api/v1/ext/tasks/{id}

Change any of its fields.

Auth: Bearer access_token
Scope: tasks.write

Send only what changes. Changing due_at or reminder_minutes_before sets the reminder again. To complete or reopen, use the endpoints below.

Parameters

NameInTypeRequiredDescription
id
path
number
yes
Task id.
title
body
stringnoUp to 255 characters.
description
body
stringnoDetails, up to 5000 characters.
priority
body
enumnoDefault medium.
due_at
body
stringnoISO 8601. null for no due date.
reminder_minutes_before
body
numberno0–43200. Needs a due_at. null for no reminder.
assignee_id
body
numbernoThe account owner, or a subaccount admin id from List subaccount admins. null to unassign.
contact_id
body
numbernoA contact in the same workspace. null to unlink.
opportunity_id
body
numbernoAn opportunity in the same workspace. null to unlink.

Responses

StatusWhen
200
OK
400
Nothing to update, or an invalid field
401
Missing or invalid token
403
Missing scope
404
Task does not exist or is not in a workspace of the installer

Response schema

taskobject
idnumber

Task id.

Example:300
workspace_idnumber

The workspace it belongs to.

Example:7
titlestring

What has to be done.

descriptionstring
nullable

Details.

prioritystring

"low", "medium" or "high".

Example:medium
statusstring

"open" or "completed".

Example:open
due_atstring (ISO 8601)
nullable

When it is due, UTC.

reminder_minutes_beforenumber
nullable

Minutes before due_at the assignee is reminded.

reminder_atstring (ISO 8601)
nullable

When the reminder goes out (worked out from the two above).

assignee_idnumber
nullable

The team member it is assigned to — the account owner or one of its subaccount admins.

contactobject
nullable

The linked contact: id, first_name, last_name, email, phone_number, company_name.

opportunityobject
nullable

The linked opportunity: id, name, status.

completed_atstring (ISO 8601)
nullable

When it was completed.

Request
curl -X PATCH "https://backend.mysmsgateway.app/api/v1/ext/tasks/{id}" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "due_at": "2026-11-04T09:00:00Z",
  "priority": "medium"
}'
Responses
OK
{
  "success": true,
  "message": "Task updated",
  "data": {
    "id": 300,
    "workspace_id": 7,
    "title": "Call Ann back about the quote",
    "description": null,
    "priority": "medium",
    "status": "open",
    "due_at": "2026-11-04T09:00:00.000Z",
    "reminder_minutes_before": 15,
    "reminder_at": "2026-11-04T08:45:00.000Z",
    "assignee_id": 41,
    "contact_id": 1234,
    "contact": {
      "id": 1234,
      "first_name": "Ann",
      "last_name": "Lee",
      "email": "ann@example.com",
      "phone_number": "+61412345678",
      "company_name": "Lee Studio"
    },
    "opportunity_id": null,
    "opportunity": null,
    "completed_at": null,
    "created_at": "2026-10-27T09:00:00.000Z",
    "updated_at": "2026-10-27T09:00:00.000Z"
  }
}
Try It!
This endpoint needs a bearer token. Open Settings (top right) and paste your access_token.
Path parameters

Task id.

Body (JSON)
Request URL
PATCHhttps://backend.mysmsgateway.app/api/v1/ext/tasks/%7Bid%7D
Previous

« Create task

Next

Complete task »