This is your first endpoint! Edit this page to start documenting your API.

Response

If successful, response header HTTP status code will be 200 OK and the message will be sent. If you try to send the message without authorization, you will receive an 401 Unauthorized error.

Request Headers

HeaderTypeDescriptionRequired
Content-TypestringShould be "application/json".Yes
AuthorizationstringAPI key for authentication (Bearer <your_api_key>).Yes

Request Body

Root Object

FieldTypeDescriptionRequired
bulkIdstringUnique identifier for the bulk request.No
messagesarray<object>List of message objects.Yes
trackingobjectTracking details for the message batch.No

messages (Array of Objects)

FieldTypeDescriptionRequired
callbackDatastringData sent in the delivery report callback.No
destinationsarray<object>List of message recipients.Yes
flashbooleanIndicates if the message should be sent as a flash SMS.
fromstringSender name or number.Yes
intermediateReportbooleanWhether intermediate delivery reports should be sent.No
languageobjectLanguage settings for the message.No
notifyContentTypestringContent type for notifications.No
notifyUrlstringURL for delivery report callbacks.No
textstringMessage text content.Yes
transliterationstringDefines transliteration settings for special characters.No
validityPeriodintegerMessage validity period in minutes.No
campaignReferenceIdstringIdentifier for a campaign-related message.No
sendAtstring (ISO 8601)Scheduled time for sending the message.No
deliveryTimeWindowobjectSpecifies time restrictions for message delivery.No

destinations (Array of Objects)

FieldTypeDescriptionRequired
messageIdstringUnique identifier for the message.No
tostringRecipient phone number in international format.Yes

language Object

FieldTypeDescriptionRequired
languageCodestringLanguage code (e.g., "TR" for Turkish).Yes

deliveryTimeWindow Object

FieldTypeDescriptionRequired
daysarray<string>List of allowed delivery days (e.g., "MONDAY", "TUESDAY").Yes
fromobjectStart time for delivery window.Yes
toobjectEnd time for delivery window.Yes

from/to Objects (Inside deliveryTimeWindow)

FieldTypeDescriptionRequired
hourintegerHour of the day (0-23).Yes
minuteintegerMinute of the hour (0-59).Yes

tracking Object

FieldTypeDescriptionRequired
trackstringTracking type (e.g., "SMS").Yes
typestringCustom tracking identifier.No
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!