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

Conversations API

The SimplyRCS conversations 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.

Conversation, messaging, inbox, and session APIs.

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

GET/v1/conversations

List conversations

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

Query parameters

NameTypeRequiredDescription
pageintegerNo
limitintegerNo
status"BOT" | "HUMAN" | "CLOSED"No
channelIdstringNo

Responses

StatusReturnsDescription
200ConversationListResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

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

GET/v1/conversations/{id}

Get a conversation

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

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
200ConversationDetailSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

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

GET/v1/conversations/{id}/messages

List conversation messages

Cursor-paginated, newest first. Pass `before` (a message id) to load older pages.

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

Path parameters

NameTypeDescription
id requiredstring

Query parameters

NameTypeRequiredDescription
limitintegerNo
beforestringNoMessage id to paginate backwards from.

Responses

StatusReturnsDescription
200ConversationMessagesResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

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

POST/v1/conversations/{id}/messages

Send a conversation message

Sends a message into an existing conversation using its contact, channel, and sender ID.

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

Path parameters

NameTypeDescription
id requiredstring

Request body

ConversationSendMessageRequest · optional

FieldTypeRequiredDescription
botIdstringNo
botNodeIdstringNo
isTemplatebooleanNo
contentobjectNoMessage content payload (same shape as SendMessageContent).

Responses

StatusReturnsDescription
200ConversationSendMessageResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/conversations/{id}/messages \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "botId": "bot_2a9f",
    "botNodeId": "node_start",
    "isTemplate": false,
    "content": {}
  }'

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/conversations/{id}/session

Get conversation session details

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

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
200objectSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

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

GET/v1/conversations/{id}/source

Get conversation source

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

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
200objectSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

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

POST/v1/conversations/{id}/handoff

Handoff a conversation

Moves a BOT conversation to HUMAN and (by default) auto-assigns the next available agent.

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

Path parameters

NameTypeDescription
id requiredstring

Request body

ConversationHandoffRequest · optional

FieldTypeRequiredDescription
reasonstringNo
botNodeIdstringNo
autoAssignbooleanNoDefaults to true: auto-assign the next available agent.

Responses

StatusReturnsDescription
200ConversationHandoffResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/conversations/{id}/handoff \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "autoAssign": true
  }'

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

POST/v1/messages/send

Send a direct message

Sends an outbound message to a contact. Pass an optional `Idempotency-Key` header (printable ASCII, max 255 chars) to replay completed responses for 24h. Uncertain provider acceptance returns 502 and retains the key; retries receive 409 during that window. Reconcile before resending; do not use a new key or wait for expiry to bypass uncertainty. When `messageType` is omitted it defaults to MARKETING, which applies the strictest consent gates.

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

Request body

SendMessageRequest · optional

FieldTypeRequiredDescription
contactIdstringNoThe contact to message. Provide this or `to`, not both.
tostringNoRecipient phone number in E.164 (for example +15551234567). Resolved to a contact by phone; a minimal contact is created if none exists. The resolved id is returned as `contactId`.
channelIdstringNoChannel to send through. Omit to route via senderIdId or channelType.
senderIdIdstringNoSender ID to send from.
channelType"RCS" | "WA" | "MMS" | "SMS"NoWhen neither channelId nor senderIdId is given, route via the org's configured channel for this type.
protocolType"SMS" | "MMS" | "RCS_RICH" | "RCS_MULTIMEDIA"No
conversationIdstringNoExisting conversation to append to.
botIdstringNo
botNodeIdstringNo
isTemplatebooleanNo
fallbackToSmsbooleanNo
messageType"MARKETING" | "TRANSACTIONAL" | "SERVICE"NoDefaults to MARKETING (strictest consent gates) when omitted.
listIdstringNo
contentSendMessageContentNo

Responses

StatusReturnsDescription
200SendMessageResponseMessage accepted and dispatched
400ErrorResponseValidation error
401ErrorResponseAuthentication failed
409ErrorResponseIdempotency-Key conflict (in progress or reused with a different body)
502ErrorResponseProvider acceptance is uncertain, or accepted-send persistence failed. Do not resend automatically; retain the same Idempotency-Key and reconcile the original attempt.

Example request

curl -X POST https://api.simplyrcs.com/v1/messages/send \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "contactId": "ct_8f21",
    "channelType": "RCS",
    "messageType": "TRANSACTIONAL",
    "fallbackToSms": true,
    "content": {
      "type": "text",
      "text": "Your order #48213 has shipped.",
      "actions": [
        {
          "text": "Track",
          "url": "https://shop.example/track/48213"
        }
      ]
    }
  }'

Example body: a worked request for this operation with illustrative ids and values; the field table above lists every field the schema accepts.

POST/v1/messages/preview

Preview a rendered message

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

Request body

PreviewMessageRequest · optional

FieldTypeRequiredDescription
channelType"RCS" | "WA" | "MMS" | "SMS"Yes
contentSendMessageContentYes

Responses

StatusReturnsDescription
200PreviewMessageResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/messages/preview \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "channelType": "RCS",
    "content": {
      "type": "text",
      "actions": [
        {}
      ]
    }
  }'

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

POST/v1/messages/{id}/revoke

Revoke a sent message

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

Path parameters

NameTypeDescription
id requiredstring

Responses

StatusReturnsDescription
200RevokeMessageResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

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