myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Complete task

POST

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

Mark it done.

Auth: Bearer access_token
Scope: tasks.write

A reminder that has not gone out yet is cancelled.

Parameters

NameInTypeRequiredDescription
id
path
number
yes
Task id.

Responses

StatusWhen
200
OK
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 POST "https://backend.mysmsgateway.app/api/v1/ext/tasks/{id}/complete" \
  -H "Authorization: Bearer <ACCESS_TOKEN>"
Responses
OK
{
  "success": true,
  "message": "Task completed",
  "data": {
    "id": 300,
    "workspace_id": 7,
    "title": "Call Ann back about the quote",
    "description": null,
    "priority": "high",
    "status": "completed",
    "due_at": "2026-11-03T09:00:00.000Z",
    "reminder_minutes_before": 15,
    "reminder_at": "2026-11-03T08: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": "2026-10-27T11:00:00.000Z",
    "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.

Request URL
POSThttps://backend.mysmsgateway.app/api/v1/ext/tasks/%7Bid%7D/complete
Previous

« Update task

Next

Reopen task »