GET/v1/conversations
List conversations
GET https://api.simplyrcs.com/v1/conversations · requires an API key
Query parameters
| Name | Type | Required | Description |
|---|
page | integer | No | |
limit | integer | No | |
status | "BOT" | "HUMAN" | "CLOSED" | No | |
channelId | string | No | |
Responses
| Status | Returns | Description |
|---|
200 | ConversationListResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication 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
| Name | Type | Description |
|---|
id required | string | |
Responses
| Status | Returns | Description |
|---|
200 | ConversationDetail | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication 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
| Name | Type | Description |
|---|
id required | string | |
Query parameters
| Name | Type | Required | Description |
|---|
limit | integer | No | |
before | string | No | Message id to paginate backwards from. |
Responses
| Status | Returns | Description |
|---|
200 | ConversationMessagesResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication 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
| Name | Type | Description |
|---|
id required | string | |
Request body
ConversationSendMessageRequest · optional
| Field | Type | Required | Description |
|---|
botId | string | No | |
botNodeId | string | No | |
isTemplate | boolean | No | |
content | object | No | Message content payload (same shape as SendMessageContent). |
Responses
| Status | Returns | Description |
|---|
200 | ConversationSendMessageResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication 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
| Name | Type | Description |
|---|
id required | string | |
Responses
| Status | Returns | Description |
|---|
200 | object | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication 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
| Name | Type | Description |
|---|
id required | string | |
Responses
| Status | Returns | Description |
|---|
200 | object | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication 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
| Name | Type | Description |
|---|
id required | string | |
Request body
ConversationHandoffRequest · optional
| Field | Type | Required | Description |
|---|
reason | string | No | |
botNodeId | string | No | |
autoAssign | boolean | No | Defaults to true: auto-assign the next available agent. |
Responses
| Status | Returns | Description |
|---|
200 | ConversationHandoffResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication 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
| Field | Type | Required | Description |
|---|
contactId | string | No | The contact to message. Provide this or `to`, not both. |
to | string | No | Recipient 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`. |
channelId | string | No | Channel to send through. Omit to route via senderIdId or channelType. |
senderIdId | string | No | Sender ID to send from. |
channelType | "RCS" | "WA" | "MMS" | "SMS" | No | When neither channelId nor senderIdId is given, route via the org's configured channel for this type. |
protocolType | "SMS" | "MMS" | "RCS_RICH" | "RCS_MULTIMEDIA" | No | |
conversationId | string | No | Existing conversation to append to. |
botId | string | No | |
botNodeId | string | No | |
isTemplate | boolean | No | |
fallbackToSms | boolean | No | |
messageType | "MARKETING" | "TRANSACTIONAL" | "SERVICE" | No | Defaults to MARKETING (strictest consent gates) when omitted. |
listId | string | No | |
content | SendMessageContent | No | |
Responses
| Status | Returns | Description |
|---|
200 | SendMessageResponse | Message accepted and dispatched |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
409 | ErrorResponse | Idempotency-Key conflict (in progress or reused with a different body) |
502 | ErrorResponse | Provider 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
| Field | Type | Required | Description |
|---|
channelType | "RCS" | "WA" | "MMS" | "SMS" | Yes | |
content | SendMessageContent | Yes | |
Responses
| Status | Returns | Description |
|---|
200 | PreviewMessageResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication 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
| Name | Type | Description |
|---|
id required | string | |
Responses
| Status | Returns | Description |
|---|
200 | RevokeMessageResponse | Successful response |
400 | ErrorResponse | Validation error |
401 | ErrorResponse | Authentication failed |
Example request
curl -X POST https://api.simplyrcs.com/v1/messages/{id}/revoke \
-H "Authorization: Bearer $SIMPLYRCS_API_KEY"