myCRMSIM

myCRMSIM API 1.0

Get Started
​
No token

Invite subaccount admin

POST

/api/v1/ext/subaccount-admins

Add a team member and email them an invitation.

Auth: Bearer access_token
Scope: subaccount_admins.write

No password is sent or set through the API. The person gets the same invitation email as from the dashboard, with a link to set their own password (valid 24 hours, works once). After that they can use Forgot password on the sign-in page. Device limits come first. android_quantity, imessage_quantity, whatsapp_quantity and rcs_quantity set how many devices of each channel the admin may hold (the same limits as the dashboard form; they also cap how many devices the admin can connect themselves). The iMessage, WhatsApp and RCS limits cannot go above your own plan's quantity for that channel. Then assign devices by id, one array per channel: android_device_ids, imessage_device_ids, whatsapp_device_ids, rcs_device_ids — no more ids than the channel's limit. The limit and the ids can be sent in the same request. Getting device ids: call List devices (Devices section, GET /api/v1/ext/devices, scope devices.read; add ?channel=android to filter) and use each device's id, putting it in the array for its channel. Ids are unique only within a channel, so the same number can be an Android device and a WhatsApp number — always match the array to the device's channel. Only devices on the installer's own account can be assigned (404 otherwise). Plan, white label and 2FA settings are set on the dashboard.

Parameters

NameInTypeRequiredDescription
name
body
string
yes
Full name, up to 255 characters.
email
body
string
yes
They sign in with it. Must not be registered already.
workspace_ids
body
array<number>noWorkspaces of the account they can work in. Default none.
status
body
enumnoDefault active.
android_quantity
body
numbernoHow many Android (SMS) devices they may hold. No plan cap. Default 0.
imessage_quantity
body
numbernoHow many iMessage devices they may hold. At most your plan's iMessage quantity. Default 0.
whatsapp_quantity
body
numbernoHow many WhatsApp numbers they may hold. At most your plan's WhatsApp quantity. Default 0.
rcs_quantity
body
numbernoHow many RCS senders they may hold. At most your plan's RCS quantity. Default 0.
android_device_ids
body
array<number>noAndroid (SMS) devices — ids from List devices where channel is "android". No more than android_quantity. Default none.
imessage_device_ids
body
array<number>noiMessage devices — ids where channel is "imessage". No more than imessage_quantity. Default none.
whatsapp_device_ids
body
array<number>noWhatsApp numbers — ids where channel is "whatsapp". No more than whatsapp_quantity. Default none.
rcs_device_ids
body
array<number>noRCS senders — ids where channel is "rcs". No more than rcs_quantity. Default none.

Responses

StatusWhen
201
Invited
400
Missing or invalid field
400
More devices than the limit, or a limit above your plan
401
Missing or invalid token
403
Missing scope
403
The token was installed by a subaccount admin, not the account owner
404
A workspace is not the account's
404
A device is not the account's
409
The email is already registered

Response schema

subaccount_adminobject
idnumber

User id — also the assignee_id for tasks, appointments and opportunities.

Example:41
namestring

Full name.

emailstring

The email they sign in with.

statusstring

"active" or "inactive". An inactive admin cannot sign in.

Example:active
workspacesarray<object>

The workspaces they can work in: id and name.

devicesobject

Devices assigned to them, per channel (android, imessage, whatsapp, rcs): id and name.

device_limitsobject

How many devices of each channel they may hold: android, imessage, whatsapp, rcs (numbers).

created_atstring (ISO 8601)

When they were added.

Request
curl -X POST "https://backend.mysmsgateway.app/api/v1/ext/subaccount-admins" \
  -H "Authorization: Bearer <ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Sam Doe",
  "email": "sam@example.com",
  "workspace_ids": [
    7
  ],
  "android_quantity": 2,
  "android_device_ids": [
    12
  ]
}'
Responses
Invited
{
  "success": true,
  "message": "Subaccount admin invited. They set their password from the invitation email (link valid 24 hours).",
  "data": {
    "id": 41,
    "name": "Sam Doe",
    "email": "sam@example.com",
    "status": "active",
    "workspaces": [
      {
        "id": 7,
        "name": "Lee Studio"
      }
    ],
    "devices": {
      "android": [
        {
          "id": 12,
          "name": "Pixel 8"
        }
      ],
      "imessage": [],
      "whatsapp": [],
      "rcs": []
    },
    "device_limits": {
      "android": 2,
      "imessage": 0,
      "whatsapp": 0,
      "rcs": 0
    },
    "created_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/subaccount-admins
Previous

« Get subaccount admin

Next

Update subaccount admin »