BulkGate Helpdesk
  • Languages iconEnglish
    • Čeština

Specification RCS object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
senderText sender. Needs to be registered first. For registration contact support here.Yes-
expirationTime limit after which alternative channel will be usedNo3600
messageMessage object. Cannot be used in tandem with following parameters (File, Card, Carousel) see Message objectNonull
fileFile object. Cannot be used in tandem with following parameters (Message, Card, Carousel) see File objectNonull
cardCard object. Cannot be used in tandem with following parameters (Message, File, Carousel) see Card objectNonull
carouselCarousel object. Cannot be used in tandem with following parameters (Message, File, Card) see Carousel objectNonull

Message object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
textText of RCS messageYes-
suggestionsSuggestions, see SuggestionNo[]

Example Message object request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "message": {
        "text": "text",
        "suggestions": [
          ...
        ]
      }
    }
  }
}

File object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
urlPath to the fileYes-
force_refreshforce_refresh set to true forces RBM to fetch new content from the specified URL, even if the URL content is cached, which increases message delivery times for users.Nofalse
suggestionsSuggestions, see SuggestionNo[]

Example File object request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "file": {
        "url": "url_test",
        "force_refresh": false,
        "suggestions": [
          ...
        ]
      }
    }
  }
}

Example File object

File Object

Card object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
titleTitle of the cardNonull
descriptionDescription of the cardNonull
alignmentAlign card to left or rightNonull
orientationOrientation of the card, horizontal, or verticalNonull
mediaMedia, see Card media objectNonull
suggestionsSuggestions, see SuggestionNo[]

Card Media object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
urlPath to the media objectYes-
force_refreshforce_refresh set to true forces RBM to fetch new content from the specified URL, even if the URL content is cached, which increases message delivery times for users.Nofalse
heightHeight of media object (Short, Medium, Tall)Nonull

Example Card object request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "card": {
        "title": "Card title",
        "description": "Card description",
        "media": {
          "url": "PATH_TO_AN_IMAGE"
        },
        "suggestions": [
          ...
        ]
      }  
    }
  }
}

Example Card object

Card Object

Carousel object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
widthWidth of the carousel (small, medium)Nonull
cardsList of carousel cardsNo[]

Carousel Card object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
titleTitle of carousel card objectNonull
descriptionDescription of a cardNonull
mediaMedia, see Card media objectNonull
suggestionsSuggestions, see SuggestionNo[]

Example Carousel object request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "carousel": {
        "width": "medium",
        "cards": [
          {
            "title": "First",
            "description": "First card",
            "media": {
              "url": "PATH_TO_AN_IMAGE"
            },
            "suggestions": [
              ...
            ]
          },
          {
            "title": "Second",
            "description": "Second card",
            "media": {
              "url": "PATH_TO_AN_IMAGE"
            },
            "suggestions": [
              ...
            ]
          }
        ]
      }
    }
  }
}

Example Carousel object

Carousel Object

Example Carousel suggestion object

Carousel suggestion Object

Suggestions object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
typeType of a suggestion button, see Suggestion typesNoreply
textText of suggestion buttonYes-
postbackContent that will get send in reply in case suggestion button is pressedNo"Ok"
locationLocation to be viewed once suggestion button is pressed, see View LocationYes, not in tandem with following (calendar, phone_number, url)-
calendarCalender app opens to create new event after suggestion button is pressed, see Create calendar eventYes, not in tandem with following (location, phone_number, url)-
phone_numberPhone number which gets predialed when suggesion button is pressed, see Dial NumberYes, not in tandem with following (location, calendar, url)-
urlAfter pressing suggestion button phone gets redirected to specified url, see Open urlYes, not in tandem with following (location, calendar, phone_number)-

Example Location quick reply object

Location quick reply object

Suggestion type

VALUEDESCRIPTION
replyQuick reply
dial_numberPre dial number
view_locationDisplay received location
share_locationShare recipients location
open_urlOpen received url
create_calendar_eventCreate calendar event

Suggestions View Location object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
typeview_location
textText of suggestion buttonYes-
postbackContent that will get send in reply in case suggestion button is pressedNo"Ok"
locationLocation to be viewed once suggestion button is pressed.No-

Location object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
latitudeFloat value of latitudeYes along with longitudenull
longitudeFloat value of longitudeYes along with latitudenull
queryString name of location to be looked up as a locationYes if longitude and latitude not setnull
labelString used to label the location in messageNonull

Example of Location suggestion object request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "message": {
        "text": "text",
        "suggestions": [
          {
            "type": "view_location",
            "text": "View",
            "location": {
              "query": "Karluv most",
              "latitude": 50.086584,
              "longitude": 14.410763,
              "label": "Karluv most"
            }
          }
        ]
      }
    }
  }
}

Suggestions Create calendar event object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
typecreate_calendar_event
textText of suggestion buttonYes-
postbackContent that will get send in reply in case suggestion button is pressed.No"Ok"
calendarCalendar app opens to create new event after suggestion button is pressed.No-

Calendar object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
startDateTime of start of the eventNonull
endDateTime of the end of eventNonull
titleString title of calendar eventNonull
descriptionText description of the eventNonull
timezoneString of a timezoneNonull

Example of Calendar event suggestion object request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "message": {
        "text": "text",
        "suggestions": [
          {
            "type": "create_calendar_event",
            "text": "Event",
            "calendar": {
              "start": "2024-01-30T13:57:41+01:00",
              "end": "2024-01-30T13:57:41+01:00",
              "title": "title_text",
              "description": "description",
              "timezone": "Europe"
            }
          }
        ]
      }
    }
  }
}

Suggestions Dial Number object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
typedial_number
textText of suggestion buttonYes-
postbackContent that will get send in reply in case suggestion button is pressed.No"Ok"
phone_numberPhone number which gets predialed when suggesion button is pressed.No-

Example of Predialed number suggestion request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "message": {
        "text": "text",
        "suggestions": [
          {
            "type": "dial_number",
            "text": "Reply ok",
            "postback": "Ok",
            "phone_number": "url"
          }
        ]
      }
    }
  }
}

Suggestions Open url object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
typeopen_url
textText of suggestion buttonYes-
postbackContent that will get send in reply in case suggestion button is pressed.No"Ok"
urlUrl that you will be redirected to if you click suggestion button.No-

Example of Open url suggestion request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "message": {
        "text": "text",
        "suggestions": [
          {
            "type": "open_url",
            "text": "Reply ok",
            "postback": "Ok",
            "url": "url"
          }
        ]
      }
    }
  }
}

Suggestions Reply object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
typereply
textText of suggestion buttonYes-
postbackContent that will get send in reply in case suggestion button is pressed.No"Ok"

Example of reply suggestion request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "message": {
        "text": "text",
        "suggestions": [
          {
            "type": "reply",
            "text": "Reply ok",
            "postback": "Ok"
          }
        ]
      }
    }
  }
}

Suggestions Share location object

PARAMETER NAMEVALUEMANDATORYDEFAULT VALUE
typeshare_location
textText of suggestion buttonYes-
postbackContent that will get send in reply in case suggestion button is pressed.No"Ok"

Example Shared location object request:

{
  "application_id": "APPLICATION_ID",
  "application_token": "APPLICATION_TOKEN",
  "number": [
    "+420777777777"
  ],
  "text": "Test text",
  "channel": {
    "rcs": {
      "sender": "BulkGate",
      "message": {
        "text": "text",
        "suggestions": [
          {
            "type": "share_location",
            "text": "Shared location",
            "postback": "ok"
          }
        ]
      }
    }
  }
}
  • Message object
  • File object
    • Example File object
  • Card object
    • Card Media object
    • Example Card object
  • Carousel object
    • Carousel Card object
    • Example Carousel object
    • Example Carousel suggestion object
  • Suggestions object
    • Example Location quick reply object
    • Suggestion type
    • Suggestions View Location object
    • Suggestions Create calendar event object
    • Suggestions Dial Number object
    • Suggestions Open url object
    • Suggestions Reply object
    • Suggestions Share location object
SolutionsSMS GatewayViber for BusinessBroadcastBulk SMSSMS NotificationsTwo-way SMSMobile ConnectWeb Portal
Partners & DevelopersSMS APIIntegrationsAffiliate programWhite label
SourcesBlogYouTubeFacebookLinkedInTwitterGitHubPackagist
CompanyContactPrivacyTerms and Conditions
Price listsPrice list SMSPrice list ViberPrice list Mobile Connect
SMS GatewayTOPefekt s.r.o. © 2026