POST /api/resellers/addMessages
POST
https://{ourserver.com}/api/resellers/addMessagesBatch forward received SMS to Onlinesim server
WARNING
URL of Onlinesim server is provided by Onlinesim partner support specialists. Please note, that the URL in the example is just a placeholder.
This request forwards multiple incoming SMS messages to Onlinesim server in a single batch.
We recommend using this method instead of addMessage and sending SMS in batches, for example once every 5 seconds.
Parameters
| Name | Type | Description |
|---|---|---|
Authorization* | string | see more here Example: Bearer apikey |
Content-Type* | string |
Enum: application/json; charset=utf-8Example:application/json; charset=utf-8 |
Request Body
Your server should send this request when new messages are received
and you need to forward multiple SMS at once.
Content-Type:
application/json▼Bodyobject
▶messagesobject[]Required
Array of messages.
Responses
200
Onlinesim server response
400
Bad Request
Code Samples
No code samples available