myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Create task

POST

/api/v1/ext/tasks

Add a task to a workspace.

Auth: Bearer access_token
Scope: tasks.write

With a due_at and reminder_minutes_before, the assignee (or the account owner) gets the same reminder as for a task made on the dashboard.

Parameters

NameInTypeRequiredDescription
workspace_id
body
number
yes
The workspace.
title
body
string
yes
Up 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
201
Created
400
Missing or invalid field
401
Missing or invalid token
403
Missing scope
404
workspace_id does not exist or is not owned by the installer (same response for both)

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" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "workspace_id": 7,
  "title": "Call Ann back about the quote",
  "priority": "high",
  "due_at": "2026-11-03T09:00:00Z",
  "reminder_minutes_before": 15,
  "assignee_id": 41,
  "contact_id": 1234
}'
Responses
Created
{
  "success": true,
  "message": "Task created",
  "data": {
    "id": 300,
    "workspace_id": 7,
    "title": "Call Ann back about the quote",
    "description": null,
    "priority": "high",
    "status": "open",
    "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": 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.
Body (JSON)
Request URL
POSThttps://backend.mysmsgateway.app/api/v1/ext/tasks
Previous

« Get task

Next

Update task »