SMSBOX - RCS API Documentation (2.1.0)

Changelog

Version Date Changes
2.1.0 01/24/2025 ⚓ Change syntax for recipients parameter, add the validity parameter and webhook documentation for RCS API.
2.0.0 10/22/2024 📲 Add the SMSBOX Documentation for the RCS product.

Message

Send text message

Authorizations:
ApiKey
path Parameters
agentId
required
string

RBM Agent ID

Request Body schema: application/json
required
recipients
required
Array of strings <= 5000 items
contentMessage
required
validity
int

Number of minutes you want your message to remain valid
Max 10080 minutes (7 days), min: 1 minute

Responses

Request samples

Content type
application/json
{
  • "recipients": [
    ],
  • "contentMessage": { },
  • "validity": 720
}

Response samples

Content type
application/json
{
  • "response": {
    },
  • "details": "Request accepted for processing.",
  • "reference": "XXXXXXXXXXXXXX",
  • "recipients": [
    ]
}

Revoke

Revoke a message

Authorizations:
ApiKey
path Parameters
agentId
required
string

RBM Agent ID

Request Body schema: application/json
required
recipients
required
Array of strings <= 5000 items
reference
required
string
Value: "XXXXXXXXXXXX"

Responses

Request samples

Content type
application/json
{
  • "recipients": [
    ],
  • "reference": "XXXXXXXXXXXX"
}

Response samples

Content type
application/json
{
  • "response": {
    },
  • "details": "Request accepted for processing.",
  • "reference": "XXXXXXXXXXXXXX",
  • "recipients": [
    ]
}

Tester

Add Tester

Authorizations:
ApiKey
path Parameters
agentId
required
string

RBM Agent ID

Request Body schema: application/json
required
recipients
required
Array of strings <= 10 items

Responses

Request samples

Content type
application/json
{
  • "recipients": [
    ]
}

Response samples

Content type
application/json
{
  • "response": {
    },
  • "details": "Request processed but no recipient to add.",
  • "recipients": [
    ]
}

Capabilities

Perform a check

Authorizations:
ApiKey
path Parameters
agentId
required
string

RBM Agent ID

Request Body schema: application/json
required
recipients
required
Array of strings <= 500 items

Responses

Request samples

Content type
application/json
{
  • "recipients": [
    ]
}

Response samples

Content type
application/json
{
  • "response": {
    },
  • "recipients": [
    ]
}

Event

Send read event

Authorizations:
ApiKey
path Parameters
agentId
required
string

RBM Agent ID

Request Body schema: application/json
required
recipients
required
Array of strings <= 1 items
event
required

Responses

Request samples

Content type
application/json
{
  • "recipients": [
    ],
  • "event": "READ"
}

Response samples

Content type
application/json
{
  • "response": {
    },
  • "details": "Request accepted for processing.",
  • "reference": "XXXXXXXXXXXXXX",
  • "recipients": [
    ]
}

Webhooks

Text Webhook

Request Body schema: application/json
object
requestType
string

Type of the request

Value: "incoming_message_text"
agentId
string

RBM Agent identifier

agentName
string

RBM Agent name

clientId
integer

SMSBOX user account id

msisdn
string

User phone number

requestProd
string

Channel

Value: "RCS"
requestSubProd
string
Enum: "rcs" "rcslike"

Subchannel

requestDate
string <datetime>

Datetime of the request

requestUUID
string <uuid>

Unique ID of the request

Responses

Request samples

Content type
application/json
{
  • "data": {
    },
  • "requestType": "incoming_message_text",
  • "agentId": "XXXXXXXXXXXXXX",
  • "agentName": "SMSBOX",
  • "clientId": 12123,
  • "msisdn": "+336XXXXXXXX",
  • "requestProd": "RCS",
  • "requestSubProd": "rcs",
  • "requestDate": "2024-06-01T14:00:00+02:00",
  • "requestUUID": "XXXXXXXXX"
}

Event Webhook

Request Body schema: application/json
object
requestType
string

Type of the request

Value: "incoming_event"
agentId
string

RBM Agent identifier

agentName
string

RBM Agent name

clientId
integer

SMSBOX user account id

msisdn
string

User phone number

requestProd
string

Channel

Value: "RCS"
requestSubProd
string
Enum: "rcs" "rcslike"

Subchannel

requestDate
string <datetime>

Datetime of the request

requestUUID
string <uuid>

Unique ID of the request

Responses

Request samples

Content type
application/json
{
  • "data": {
    },
  • "requestType": "incoming_event",
  • "agentId": "XXXXXXXXXXXXXX",
  • "agentName": "SMSBOX",
  • "clientId": 12123,
  • "msisdn": "+336XXXXXXXX",
  • "requestProd": "RCS",
  • "requestSubProd": "rcs",
  • "requestDate": "2024-06-01T14:00:00+02:00",
  • "requestUUID": "XXXXXXXXX"
}

Reply Webhook

Request Body schema: application/json
object
requestType
string

Type of the request

Value: "incoming_message_reply"
agentId
string

RBM Agent identifier

agentName
string

RBM Agent name

clientId
integer

SMSBOX user account id

msisdn
string

User phone number

requestProd
string

Channel

Value: "RCS"
requestSubProd
string
Enum: "rcs" "rcslike"

Subchannel

requestDate
string <datetime>

Datetime of the request

requestUUID
string <uuid>

Unique ID of the request

Responses

Request samples

Content type
application/json
{
  • "data": {
    },
  • "requestType": "incoming_message_reply",
  • "agentId": "XXXXXXXXXXXXXX",
  • "agentName": "SMSBOX",
  • "clientId": 12123,
  • "msisdn": "+336XXXXXXXX",
  • "requestProd": "RCS",
  • "requestSubProd": "rcs",
  • "requestDate": "2024-06-01T14:00:00+02:00",
  • "requestUUID": "XXXXXXXXX"
}

Action Webhook

Request Body schema: application/json
object
requestType
string

Type of the request

Value: "incoming_message_action"
agentId
string

RBM Agent identifier

agentName
string

RBM Agent name

clientId
integer

SMSBOX user account id

msisdn
string

User phone number

requestProd
string

Channel

Value: "RCS"
requestSubProd
string
Enum: "rcs" "rcslike"

Subchannel

requestDate
string <datetime>

Datetime of the request

requestUUID
string <uuid>

Unique ID of the request

Responses

Request samples

Content type
application/json
{
  • "data": {
    },
  • "requestType": "incoming_message_action",
  • "agentId": "XXXXXXXXXXXXXX",
  • "agentName": "SMSBOX",
  • "clientId": 12123,
  • "msisdn": "+336XXXXXXXX",
  • "requestProd": "RCS",
  • "requestSubProd": "rcs",
  • "requestDate": "2024-06-01T14:00:00+02:00",
  • "requestUUID": "XXXXXXXXX"
}

Message status Webhook

Request Body schema: application/json
object
reference
string

Message identifier

requestType
string

Type of the request

Value: "status_update"
agentId
string

RBM Agent identifier

agentName
string

RBM Agent name

clientId
integer

SMSBOX user account id

msisdn
string

User phone number

requestProd
string

Channel

Value: "RCS"
requestSubProd
string
Enum: "rcs" "rcslike"

Subchannel

requestDate
string <datetime>

Datetime of the request

requestUUID
string <uuid>

Unique ID of the request

Responses

Request samples

Content type
application/json
{
  • "data": {
    },
  • "reference": "XXXXXXXXXXXX",
  • "requestType": "status_update",
  • "agentId": "XXXXXXXXXXXXXX",
  • "agentName": "SMSBOX",
  • "clientId": 12123,
  • "msisdn": "+336XXXXXXXX",
  • "requestProd": "RCS",
  • "requestSubProd": "rcs",
  • "requestDate": "2024-06-01T14:00:00+02:00",
  • "requestUUID": "XXXXXXXXX"
}

Document Webhook

Request Body schema: application/json
object
requestType
string

Type of the request

Value: "incoming_message_file"
agentId
string

RBM Agent identifier

agentName
string

RBM Agent name

clientId
integer

SMSBOX user account id

msisdn
string

User phone number

requestProd
string

Channel

Value: "RCS"
requestSubProd
string
Enum: "rcs" "rcslike"

Subchannel

requestDate
string <datetime>

Datetime of the request

requestUUID
string <uuid>

Unique ID of the request

Responses

Request samples

Content type
application/json
{
  • "data": {
    },
  • "requestType": "incoming_message_file",
  • "agentId": "XXXXXXXXXXXXXX",
  • "agentName": "SMSBOX",
  • "clientId": 12123,
  • "msisdn": "+336XXXXXXXX",
  • "requestProd": "RCS",
  • "requestSubProd": "rcs",
  • "requestDate": "2024-06-01T14:00:00+02:00",
  • "requestUUID": "XXXXXXXXX"
}

Location Webhook

Request Body schema: application/json
object
requestType
string

Type of the request

Value: "incoming_message_location"
agentId
string

RBM Agent identifier

agentName
string

RBM Agent name

clientId
integer

SMSBOX user account id

msisdn
string

User phone number

requestProd
string

Channel

Value: "RCS"
requestSubProd
string
Enum: "rcs" "rcslike"

Subchannel

requestDate
string <datetime>

Datetime of the request

requestUUID
string <uuid>

Unique ID of the request

Responses

Request samples

Content type
application/json
{
  • "data": {
    },
  • "requestType": "incoming_message_location",
  • "agentId": "XXXXXXXXXXXXXX",
  • "agentName": "SMSBOX",
  • "clientId": 12123,
  • "msisdn": "+336XXXXXXXX",
  • "requestProd": "RCS",
  • "requestSubProd": "rcs",
  • "requestDate": "2024-06-01T14:00:00+02:00",
  • "requestUUID": "XXXXXXXXX"
}