Skip to main content

Quick Send

Waste no time installing SDK. Try out the Quick API.

This endpoint is used to get an authorization token from the server. The token will be used to authenticate requests to protected endpoints

Acquire API KEY FROM DASHBOARD​
Endpoints:
https://bulkdev.swifttdial.com:2778/api/outbox/create
header 'Content-Type: application/json' \
header 'X-API-Key: your-api-key you generate from the dashboard' \

REQUEST PARAMETERS​

ParameterDescription
AUTHORIZATIONx-api-key
REQUEST BODY SCHEMAContent-Type: application/json
profile_codelinked to sms product configuration
MessagesString
dlr_callback_urlThe Url that we will send you a delivery report once the message is terminated to the device
json

{
"profile_code": "12345",
"messages": [
{
"recipient": "2547xxxxxxxx",
"message": " Hi test successful",
"message_type":1,
"req_type": 1,
"external_id": "unique_external_id"
}
],
"dlr_callback_url": "https://posthere.io"
}

POST​

Send Message​

curl --request POST \
--url https://bulkdev.swifttdial.com:2778/api/outbox/create \
--header 'Content-Type: application/json' \
--header 'x-api-key' \
--data '{
"profile_code": "12345",
"messages": [
{
"recipient" : "2547XXXXXXX",
"message" : "test message",
"message_type" : 1,
"req_type": 1,
"external_id" : "external_id"
}
],
"dlr_callback_url": "https://posthere.io/"
}
:::

Responses​

Sample Responses
{
"external_id": "your_unique_external_id",
"recipient": "2547XXXXXXXX",
"sms_count": 1
}