v1

latestOpenAPI 3.1.02026-07-2454140152.8 KB
Messages

Send Message

post/v1/messages

Request body

Response

Created

idstring uuid

Unique identifier of the message

account_idstring uuid

Unique identifier of the account

fromstring

Identifier of the sender(name)

tostring

Recipients phone number

channel'SMS' | 'VIBER' | 'WHATSAPP'

Delivery channel of the message. Enumeration values [SMS, VIBER, WHATSAPP]

status'delivered' | 'sent' | 'failed' | 'enroute' | 'read' | 'rejected' | 'unsubscribed' | 'expired' | 'blocked'

Message status. Enumeration values [delivered, sent, failed, enroute, read, rejected, unsubscribed, expired, blocked]

textstring

Text of the message

create_datestring date-time

Creation date of the message in UTC, formatted as yyyy-mm-dd hh:mm:ss

update_datestring date-time

Update date of the message in UTC, formatted as yyyy-mm-dd hh:mm:ss

segment_countinteger

The count of message parts for [SMS] Channel, other channel messages are always in 1 segment

encodingstring

Encoding of the [SMS] message. Enumeration Values [GSM-7, UCS-2]

countrystring

ISO code of the recipients number