Messages
Messages
Body
all_numbersstringOptional
All numbers or special identifiers
messagestringOptional
Message content
send_time_methodstring · enumOptionalPossible values:
Send time method
send_timestring · date-timeOptional
Send time if method is LATER
sms_typestring · enumOptionalPossible values:
SMS type
repeation_timesintegerOptional
Repetition times, if applicable
excle_filestringOptional
Excel file path, if all_numbers is excel_file
calendar_timestring · date-timeOptional
Calendar time if sms_type is CALENDAR
reminderintegerOptional
Reminder if sms_type is CALENDAR
reminder_textstringOptional
Reminder text if sms_type is CALENDAR
location_urlstringOptional
Location URL (optional)
Responses
200
Successful operation
application/json
post
/api/workspaces/{workspace}/channels/{channel}/statistics200
Successful operation
Sends a message and performs various validations.
Body
message_idintegerRequiredExample:
ID of the message statistic
1Responses
200
Message sent successfully
application/json
403
Validation or balance error
application/json
422
Validation Error(s)
application/json
post
/api/workspaces/{workspace}/channels/{channel}/messagesLast updated