Doc Partner
SMS Partner
Doc Partner - EN
Doc Partner - EN
  • Welcome
  • API
    • SMS Partner
      • Credits
      • Send SMS
        • Single Send
        • Bulk Send
        • Send by Long Number
        • Survey Send
        • Cancel Scheduled SMS
        • Special Characters
      • Status & Statistics
        • Single Status
        • Bulk Status
        • Status by Message
        • Status by Tag
        • Sending Statistics
      • Contact Management
        • Add Group
        • Add Contact
        • Delete Group
        • Add Bulk Contacts
        • Edit Contact
        • Delete Contact
        • Get Group List
        • Get Contact List
        • Get Contact Details
      • Replies / Opt-outs Management
        • Stop List
        • Add Number to SMS Stop List
        • Remove Number from SMS Stop List
        • Replies Management
      • Sub-accounts
        • Activation
        • Create Sub-account
        • Delete Sub-account
        • Sub-account List
        • Manage Sub-account Credits
      • Manage Call Forwarding
      • Number Verification
        • Send a Verification
        • Format Verification
      • Contact Rental
        • Categories
        • Targeting & Calculation
        • Rental Status
        • Download File
      • RCS
    • Error Codes
Powered by GitBook

© 2025 NDA Media

On this page
  1. API
  2. SMS Partner

RCS

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

PreviousDownload FileNextError Codes

Last updated 1 month ago

To enable this feature, please

URL

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

The platform does not send commercial SMS messages between 8 PM and 8 AM on weekdays and on Sundays and public holidays (legal restriction). If a commercial SMS is sent, the message is paused until the next working day at 8 AM. Not sending commercial SMS messages? Contact us to disable this restriction:

Required Parameters

Name
Value

apiKey

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
    }
}
{
   "apiKey": "",
   "phoneNumbers": [
       ""
   ],
   "isUnicode": 1,
   "richContent": {
       "conversation": {
           "file": {
                "media": {
                   "fileUrl": ""
               }
           },
           "suggestions": [
               // See the suggestions section (maximum 4)
           ]
       }
   },
   "failover": {
       "sender": "cyril",
       "message": "this is a fallback SMS",
       "isStopSms": 1,
       "isUnicode": 1
   }
}
{
   "apiKey": "",
   "phoneNumbers": [
       ""
   ],
   "isUnicode": 1,
   "richContent": {
       "conversation": {
           "richCard": {
               "orientation": "VERTICAL", //VERTICAL or HORIZONTAL
               "thumbnailImageAlignment": "LEFT", //Only if orientation == HORIZONTAL
               "title": "", //Max 200 characters
               "description": "", //Max 500 characters
               "media": {
                   "height": "MEDIUM", //Only if orientation == VERTICAL
                   "mediaUrl": ""
               },
               "suggestions": [
                   // See the suggestions section (max 4)
               ]
           },
           "suggestions": [
               // Global suggestions (max 8)
           ]
       }
   },

   "failover": {
       "sender": "cyril",
       "message": "This is a fallback SMS",
       "isStopSms": 1,
       "isUnicode": 1
   }
}
{
   "apiKey": "",
   "phoneNumbers": [
       ""
   ],
   "isUnicode": 1,
   "richContent": {
       "conversation": {
           "carousel": {
               "cardWidth": "MEDIUM", //OR SMALL

               "cards": [
                   {
                       "title": "", //Max 200 characters
                       "description": "", //Max 500 characters
                       "media": {
                           "height": "MEDIUM",
                           "mediaUrl": ""
                       },
                       "suggestions": [
                            // Max 4 suggestions
                       ]
                   },
                   {
                       "title": "",
                       "description": "",
                       "media": {
                           "height": "MEDIUM",
                           "mediaUrl": ""
                       },
                       "suggestions": []
                   }
               ]
           },
           "suggestions": [
               // Global suggestions (max 8)
           ]
       }
   },

   "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.
    }
}
{
    "action": {
        "text": "Open SMSPartner",
        "postbackData": "postback_data_1",
        "openUrlAction": {
            "url": "https://www.smspartner.fr"
        }
    }
}
{
    "action": {
       "text": "Call SMSPartner",
       "postbackData": "postback_data_2",
       "dialAction": {
           "phoneNumber": "+33......."
       }
    }
}
{
    "action": {
        "text": "Location",
        "postbackData": "postback_data_3",
        "viewLocationAction": {
           "label": "Here !!!",
           "latLong": {
                 "latitude": 2.4220188,
                 "longitude": -122.0844786
            }
        }
    }
}
{
    "action": {
        "text": "Our appointment",
        "postbackData": "postback_data_4",
        "createCalendarEventAction": {
            "startTime": "2020-06-30 19:00:00",
            "endTime": "2020-06-30 19:30:00",
            "title": "Meeting",
            "description": "Meeting description"
        }
    }
}

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

contact the technical team
help@smspartner.fr
Your API key
See below