Support · Contact · Legal
Verified RCS · SMS · MMS · Log in
API REFERENCE

Bots API

The SimplyRCS bots API has 10 public endpoints. Every endpoint below is documented with its parameters, responses and an example request. The reference is public and needs no account; a scoped API key is required only to make live calls.

Bot flow management, publishing, templates, and emulator APIs.

Base URL https://api.simplyrcs.com · All 194 endpoints · Pricing

GET/v1/bots

List bots

GET https://api.simplyrcs.com/v1/bots · requires an API key

Query parameters

NameTypeRequiredDescription
pageintegerNo
limitintegerNo
searchstringNo

Responses

StatusReturnsDescription
200BotListResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X GET https://api.simplyrcs.com/v1/bots \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

POST/v1/bots

Create a bot

POST https://api.simplyrcs.com/v1/bots · requires an API key

Request body

BotCreateRequest · optional

FieldTypeRequiredDescription
namestringYes
channelIdstringNo
flowJsonBotFlowNo

Responses

StatusReturnsDescription
201BotSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/bots \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example name",
    "flowJson": {
      "nodes": [
        {}
      ],
      "edges": [
        {}
      ]
    }
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

GET/v1/bots/{id}

Get a bot

GET https://api.simplyrcs.com/v1/bots/{id} · requires an API key

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
200BotSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X GET https://api.simplyrcs.com/v1/bots/{id} \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

PUT/v1/bots/{id}

Update a bot

Updates name, channel, or the draft flow. A changed draft flow bumps the version and records a revision; status transitions between PUBLISHED and MODIFIED based on whether the draft matches the published flow.

PUT https://api.simplyrcs.com/v1/bots/{id} · requires an API key

Path parameters

NameTypeDescription
id requiredstring

Request body

BotUpdateRequest · optional

FieldTypeRequiredDescription
namestringNo
channelIdstringNo
flowJsonBotFlowNo

Responses

StatusReturnsDescription
200BotSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X PUT https://api.simplyrcs.com/v1/bots/{id} \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "flowJson": {
      "nodes": [
        {}
      ],
      "edges": [
        {}
      ]
    }
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

DELETE/v1/bots/{id}

Delete a bot

DELETE https://api.simplyrcs.com/v1/bots/{id} · requires an API key

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
204Bot deleted
401ErrorResponseAuthentication failed
404ErrorResponseBot not found

Example request

curl -X DELETE https://api.simplyrcs.com/v1/bots/{id} \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

POST/v1/bots/{id}/publish

Publish a bot

Validates the draft flow (must have nodes and a Start node and pass content validation) and copies it to the published flow. Validation failures return 400 with a validationErrors array.

POST https://api.simplyrcs.com/v1/bots/{id}/publish · requires an API key

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
200BotSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/bots/{id}/publish \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

POST/v1/bots/{id}/validate

Validate a bot flow

POST https://api.simplyrcs.com/v1/bots/{id}/validate · requires an API key

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
200BotValidationResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/bots/{id}/validate \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

GET/v1/bots/{id}/revisions

List bot revisions

GET https://api.simplyrcs.com/v1/bots/{id}/revisions · requires an API key

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
200BotRevisionListResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X GET https://api.simplyrcs.com/v1/bots/{id}/revisions \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

GET/v1/bots/{id}/testers

List bot testers and RCS invite status

GET https://api.simplyrcs.com/v1/bots/{id}/testers · requires an API key

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
200BotTesterListResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X GET https://api.simplyrcs.com/v1/bots/{id}/testers \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

POST/v1/bots/{id}/testers

Add a bot tester and optionally send RCS opt-in invite

Provide either contactId (existing contact) or phone (E.164; a contact is created or reused). When the bot is linked to a provider-managed RCS sender, an RCS test-device opt-in invite is sent unless sendRcsInvite is false.

POST https://api.simplyrcs.com/v1/bots/{id}/testers · requires an API key

Path parameters

NameTypeDescription
id requiredstring

Request body

BotTesterAddRequest · optional

FieldTypeRequiredDescription
contactIdstringNo
phonestringNoE.164 format, for example +15551234567.
namestringNo
notestringNo
sendRcsInvitebooleanNoDefaults to true.

Responses

StatusReturnsDescription
201BotTesterAddResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/bots/{id}/testers \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "phone": "+14155550142",
    "sendRcsInvite": true
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.