Skip to content
Home » Octopush Gateway SMS API » Parameters List

Parameters List

Here is the list of parameters available for use with our SMS API.
WARNING : Parameters that are not mandatory, have a default value.

Authentication

The api-key and api-login must be added in the headers

NameTypeDescription
senderstringSender of the message (if the user allows it), 3-11 alphanumeric characters (a-zA-Z0-9)
send_atstring‘When you want to send the sms campaign. Format: DateTime ISO8601 (for ex: “2018-10-03T07:42:39-07:00”).’
textstringMessage text (from 1 to 1224 characters).
recipientsarrayList of Contact objects array of objects:
[
  {
    "phone_number": "+111222233334444",
    "param1": "Alex",
    "param2": null,
    "param3": null,
    "param4": null,
    "param5": null,
  },
  ...,
  {
    "phone_number": "+2222333334444555",
    "param1": "John",
  }
]
typestringType of the campaign: [“sms_premium”,”sms_low_cost”]
purposestringCampaign purpose: [“alert”,”wholesale”]
with_repliesboolean“True” for getting back recipient replies
simulation_modeboolean(optional) If this value is “true”, your request will be simulated, and you will receive a fake result. Only some minimal validations will be executed.
request_idstring(optionnel) (optional) To avoid sending same request multiple times, setup an request ID. In case the duplication will be detected, a validation error will be returned. A request_id will expire after 24 hours.
auto_optimize_textboolean(optional) By transmitting this field with “false” value, your text will not be optimized by Octopush robot (your message could contain unicode characters, or useless spaces that could increase the number of needed SMS for each contact).

Exclusive for SMS Vocal

voice_languagestringLangue de la voix [‘en-US’, ‘en-GB’, ‘el-GR’, ‘pl-PL’, ‘hu-HU’, ‘sv-SE’, ‘de-DE’, ‘es-ES’, ‘es-LA’, ‘fr-FR’, ‘it-IT’, ‘pt-BR’, ‘ru-RU’]
voice_genderstringGenre de la voix [“male”, “female”]

Exclusive to credit consultation

with_detailsboolean(optionnel) Add details aboout all your wallet packs.
product_namestring(optionnel) (optional) Name of the product which you want to get your balance in (sms_low_cost, sms_premium, vocal_sms, hlr). You must also indicate country_code.

Specifications Contact List Management

Specifications Sub-accounts management

SHA1 Request Codes

KeysCorresponding fields
Tsms_text
Rsms_recipients
Msms_mode
Ysms_type
Ssms_sender
Dsending_date
arecipients_first_names
brecipients_last_names
csms_fields_1
dsms_fields_2
esms_fields_3
Wwith_replies
Ntransactional
Qrequest_id