Get price list
API URL
URL used to send HTTP requests:
Note
If the request does not reach its destination, repeat it on the backup server backup1.bulkgate.com.
Note
Api is limited by minute quota 20 requests.
Parameters table
| PARAMETER NAME | VALUE | MANDATORY | DEFAULT VALUE |
|---|---|---|---|
| application_id | Application ID | Yes | - |
| application_token | Application token | Yes | - |
| country | Array of country codes of desired price list | Yes | - |
| wallet | Wallet name of your preferred wallet. | No | Main wallet |
Unlike the other endpoints,
price-list/getrejects any parameter that is not in the table above withinvalid_input_parameters.countrymust always be an array, even for a single country.
Example of full request
Response to this command may be:
In case of success:
Price list item
data.price_list is an object keyed by the country code; under each key is an array of routes. A country that has no price list is not present in the response at all.
| FIELD | VALUE |
|---|---|
| operator | Operator name |
| operator_code | Operator code |
| type | Sender ID type of the route: gTextOwn, gSystem, gShort, gText, gOwn, gMobile, gPush, or gNone when the route has none |
| price | Price of one message part, rounded to 4 decimal places and converted to the currency of the wallet |
| currency | Currency of the wallet the price list belongs to |
| gate | Gateway number 0–6, 985 for Mobile Connect |
| economy | Economy route |
| unicode | The route supports Unicode |
| two_way | The route supports two-way communication. Always true for gOwn |
| registration | The sender ID has to be registered before sending, see Text sender ID registration |
| registration_fee | One-off fee for registering the sender ID. Meaningful only together with registration |
| registration_delay | How long the registration takes. Meaningful only together with registration |
| monthly_fee | Recurring monthly fee for the registered sender ID. Meaningful only together with registration |
| route_quality | One of HQ, PARTNER DIRECT, DIRECT, SIM, WH, SS7, PARTNER SS7, OFFNET DIRECT - NATIONAL, OFFNET DIRECT - GROUP, OFFNET DIRECT - INTERNATIONAL and their PARTNER variants. An empty string when the quality is not known |
| route_note | Note about the route, null when there is none |
| sender_note | Note about the sender ID, null when there is none |
| default_senders | Array of the default sender IDs of the route |
In case of error:
Where:
- type and error (description of the error) can be found in the error types table
- code represents http error
- detail is an additional info about the error
Was this page helpful?
Thank you for your feedback.