2

Which API should I use? Full API vs Workspace API

 The two ways to connect your own system to myCRMSIM — the Full API you request from the Integrations page, and the Workspace (Custom Location) API with a key and an inbound webhook — what each one does, how you get access, and which to pick.

myCRMSIM gives you two ways to connect your own software. They overlap on the basics (send a message, get replies back), but they're built for different jobs.

Workspace API (Custom Location)
Full API
What it isA simple send-and-receive pipe for one or more workspacesThe platform API: everything your dashboard can do, from code
How you get itSelf-serve: generate a key in the dashboardRequest an API app on the Integrations page; it's reviewed first
AuthOne key in the x-custom-location-key headerOAuth: your app is installed on an account and gets an access token
Send messagesYes, on the channels turned on in the workspace's Message RoutingYes, through any workspace on the account: pick the exact device or channel, or use routing with fallback
iMessage Advanced ModeEffects, replies, reactions, edit, unsend, Notify Anyway, Check iMessageThe same, plus scheduled sends
Receive messagesOn the inbound webhook URL set on the workspaceOn your app's callback URL (or by polling)
Contacts, workspaces, devices, calls…NoYes
Best forPlugging your own CRM, backend or no-code tool into a lineBuilding a product or integration on top of myCRMSIM
Short version: if you only need to send messages from a line and get replies back, use the Workspace API. If you're building an app that manages contacts, workspaces, devices or calls, or that works for many accounts, use the Full API.
Workspace API (Custom Location)
This API belongs to a Custom Location workspace: a stand-alone workspace with its own line (SMS, iMessage, WhatsApp or RCS) that isn't linked to a CRM like HighLevel.

Getting access

  1. Open Developers → API Keys (or Settings → Custom Location API) and create a key. See The Developers page.
    • Choose New line to set everything up in one step: it creates the workspace, attaches a free line, sets the routing, saves your inbound webhook URL and gives you the key.
    • Or choose Existing workspaces to create a key for workspaces you already have. One key can cover one workspace, several, or all of them (including ones you add later).
  2. Open the workspace's Setup Guide on the Subaccount SIM page. It shows the send URL, your workspace's location_id, the key, and ready-to-copy payloads.

Sending

POST a JSON body to the send URL from the Setup Guide, with your key in the header:
message_id is your own id for the message: keep it unique, because status updates, replies and reactions refer to it. To send attachments, add attachments as a list of file URLs. Send the key on every request. It must be a live key that covers the location_id.
Which channel? The workspace's Message Routing (its first row) decides, not the request: the message goes out on every channel turned on there. To send only over iMessage, turn on only iMessage in that row. See How message routing works.

iMessage Advanced Mode

With a Mac in Advanced Mode on the workspace, a send can also carry:
Field
What it does
effectA send effect: confetti, fireworks, balloons, hearts, lasers, shooting_star, sparkles, echo, spotlight, slam, loud, gentle or invisible_ink.
reply_toA threaded reply to an earlier message in the same conversation: your own message_id, or the message_id of an inbound message.
They go on the iMessage copy only: if SMS, WhatsApp or RCS are also turned on, those get the plain text. A value that can't be used (an unknown effect, a reply to a message that isn't found or isn't an iMessage, iMessage not in the routing, no Mac in Advanced Mode) is refused with HTTP 400 and an error message, and nothing is sent. Both fields are optional; a send without them works exactly as before.
The rest of Advanced Mode has its own endpoints. They take the same two headers and location_id in the body; the full URLs are in the workspace's Setup Guide:
Endpoint
Body
Does
POST /api/v1/custom-location/messages/{message_id}/reactionslocation_id, reactionA tapback: love, like, dislike, laugh, emphasize or question.
POST /api/v1/custom-location/messages/{message_id}/editlocation_id, messageEdits a message you sent, within 15 minutes.
POST /api/v1/custom-location/messages/{message_id}/unsendlocation_id Unsends a message you sent, within 2 minutes.
POST /api/v1/custom-location/messages/{message_id}/notify-anywaylocation_idNotify Anyway for a contact with notifications silenced, within 24 hours.
POST /api/v1/custom-location/contacts/check-imessagelocation_id, phone or emailWhether the number or email has iMessage.
{message_id} is your own message_id or one from an inbound webhook. Edit, unsend and Notify Anyway wait for the Mac's answer, so they can take a few seconds.

Receiving

Set an inbound webhook URL on the workspace (during New line setup, or with Update workspace). myCRMSIM then POSTs to it:
  • type: "MESSAGE": an incoming text, with phone, message, channel and any attachments. iMessages also carry message_id (use it with reply_to or to react), and a contact's tapback carries reaction (kind, emoji, reacted_to) next to the same text as before.
  • type: "CALL": call activity on the line, in the same shape.
  • type: "STATUS-UPDATE": delivery updates for messages you sent.
The Setup Guide shows each payload in full. New fields may be added to these payloads over time, so ignore keys you don't use rather than rejecting them.

Limits of the Workspace API

  • It covers messaging only. It can't read or change contacts, conversations, devices or calls.
  • One request sends through one workspace, on the channels its routing has turned on. To pick a line per message, you need one workspace per line (the New line setup does this for you).
  • Call events (placed, answered, ended) don't go to this webhook; they need the Full API's callback URL. See Status and inbound message callbacks.
Full API
This is the API documented in the API reference on this site, under /api/v1/ext/…. It's made for developers building an app or integration on top of myCRMSIM.

Getting access

  1. In the dashboard, go to Integrations → Custom Integration → Request API app. Fill in your app's details, its redirect URL and (optionally) a callback URL.
  2. The request is reviewed. Once it's approved, you get a client ID and secret.
  3. Each account that wants to use your app installs it (OAuth). Your app swaps the code for an access token and calls the API with it.
The account that installs the app needs an active plan, and calls are rate-limited.

What you can do

  • Messages: send on any channel, choose which line sends, list, schedule, react, edit and unsend.
  • Contacts: list, create, update, delete, and check whether a number has iMessage.
  • Workspaces: list, create and manage workspaces, including Custom Location workspaces and their inbound webhooks.
  • Devices and lines, calls and AI voice agents, groups, lead forms and more. Browse the API reference for the full list.

Receiving

Either poll List messages, or set a callback URL on your app so myCRMSIM pushes message.status, message.inbound and call events to you, signed so you can check they came from myCRMSIM. See Status and inbound message callbacks.
Using both
You can. A common setup is to create Custom Location workspaces with the Full API (Create workspace, with inbound_webhook_url) and let each workspace's own webhook receive its messages. For Custom Location workspaces, inbound messages go only to the workspace's webhook, not to your app's callback URL. Delivery statuses go to both.
 
 

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us