RCS

This request is used to send an RCS message in real time or scheduled.

To enable this feature, please contact the technical team

URL

POST https://api.smspartner.fr/v1/rcs/send

Required Parameters

Name
Value

phoneNumbers

Recipient phone numbers. To send multiple messages, separate the numbers with commas. Maximum of 500 numbers per request. They can be:

  • in national format (06xxxxxxxx) or international format (+336xxxxxxxx) for French numbers.

  • in international format (+496xxxxxxxx) for non-French numbers.

isUnicode

1

richContent

Optional Parameters

Name
Value

scheduledDeliveryDate

Scheduled send date in dd/mm/YYYY format. Set this only if you want the SMS to be sent later.

time

Send time (0–24 format), required if scheduledDeliveryDate is set.

minute

Send minute (0–55, in five-minute intervals), required if scheduledDeliveryDate is set.

Rich Content

{
    "apiKey": "",
    "isUnicode": 1,
    "phoneNumbers": [
        "+33....."
    ],
    "richContent": {
        "conversation": {
            "text": "",
            "suggestions": [
                // See the suggestions section (maximum 4)
            ]
        }
    },
    
    "failover": {
        "sender": "cyril",
        "message": "this is a fallback SMS",
        "isStopSms": 1,
        "isUnicode": 1
    }
}

Suggestions

{
    "reply": {
        "text": "Réponse 2",
        "postbackData": "postback_data_1234" //Valeur qui sera envoyée en réponse à une suggestion.
    }
}

Response

{
   "success":true,
   "code":200,
   "message_id":1,
   "nb_rcs": 1,
   "cost": 0.12,
   "currency": "EUR"
}

Supported Media File Types

RBM supports the following media types:

Content Type
Document Type
Extension
Compatible with Rich Cards

application/ogg

Audio OGG

.ogx

No

application/pdf

PDF

.pdf

No

audio/aac

Audio AAC

.aac

No

audio/mp3

MP3 Audio Format

.mp3

No

audio/mpeg

Audio MPEG

.mpeg

No

audio/mpg

Audio MPG

.mp3

No

audio/mp4

Audio MP4

.mp4

No

audio/mp4-latm

Audio MP4-latm

.mp4

No

audio/3gpp

Audio 3GPP

.3gp

No

image/jpeg

JPEG

.jpeg, .jpg

Yes

image/gif

GIF

.gif

Yes

image/png

PNG

.png

Yes

video/h263

H263 Video

.h263

Yes

video/m4v

M4V Video

.m4v

Yes

video/mp4

MP4 Video

.mp4

Yes

video/mpeg4

MPEG-4 Video

.mp4, .m4p

Yes

video/mpeg

MPEG Video

.mpeg

Yes

video/webm

WebM Video Format

.webm

Yes

Last updated