myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Schedule message

POST

/api/v1/ext/messages/scheduled

Send a message later.

Auth: Bearer access_token
Scope: messages.write

30 messages / 15 min per workspace (counts with Send message) · 1 attachment per message

Same recipient and channel rules as Send message. send_at is an ISO 8601 time at least 1 minute and at most 1 year ahead. The message goes out within a minute of send_at; credits, DND, routing and the device are checked then, not now — a message that cannot be sent at that time ends as failed with the reason in error. An effect works as on Send message; the iMessage and Advanced Mode checks are made when you schedule it.

Parameters

NameInTypeRequiredDescription
workspace_id
body
number
yes
The workspace to send from.
contact_id
body
numbernoThe contact. Or send phone / email.
phone
body
stringnoRecipient number with country code.
email
body
stringnoAn Apple ID email (iMessage only).
message
body
stringnoThe text. Required unless an attachment is sent.
attachments
body
string (URL)noOne public file URL.
channel
body
enumnoAs for Send message; omit to use Message Routing.
send_at
body
string (ISO 8601)
yes
When to send, UTC.
effect
body
enumnoAn iMessage send effect. Screen effects: confetti, fireworks, balloons, hearts, lasers, shooting_star, sparkles, echo, spotlight. Bubble effects: slam, loud, gentle, invisible_ink. iMessage only, needs message text and a Mac in Advanced Mode on the workspace — see the description.

Responses

StatusWhen
201
Scheduled
400
Bad time, no recipient, or no text
400
Effect — not iMessage
400
Effect — no Mac with Advanced Mode on the workspace
400
Effect — unknown name, or no message text
401
Missing or invalid token
403
Missing scope
404
Contact does not exist or is not owned by the installer (same response for both)
429
Workspace send limit reached
Request
curl -X POST "https://backend.mysmsgateway.app/api/v1/ext/messages/scheduled" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "workspace_id": 7,
  "contact_id": 1234,
  "message": "Reminder: your appointment is tomorrow at 10am.",
  "send_at": "2026-10-28T23:00:00Z"
}'
Responses
Scheduled
{
  "success": true,
  "message": "Message scheduled",
  "data": {
    "id": 912,
    "workspace_id": 7,
    "contact_id": 1234,
    "to": "+61412345678",
    "message": "Reminder: your appointment is tomorrow at 10am.",
    "effect": null,
    "reaction": null,
    "attachments": [],
    "channel": null,
    "send_at": "2026-10-28T23:00:00.000Z",
    "status": "pending",
    "sent_message_id": null,
    "error": null,
    "created_at": "2026-10-27T09:20: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/messages/scheduled
Previous

« Get message status

Next

List scheduled messages »