Create Template

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
data
required
Responses

400

Bad Request:

Code Message Description
1241 'data.wa_sender_code' required for WhatsApp template
1254 'data.text' is required Required for SMS, WhatsApp and Viber(text) templates
1256 'data.channel' is required
1257 'data.channel' value should be: [SMS, VIBER, WHATSAPP]
1259 'data.name' is invalid
1260 'data.text' is too long Text must be at most 1000 characters
1261 'data.name' is required For WhatsApp name is required
1263 'data.name' is too long Name must be at most 45 characters
1264 'data.url' is required Required for image, video and document templates without 'media_id'
1265 'data.url' is too long URL must be at most 2083 characters
1266 'data.url' contains invalid characters URL must be valid
1267 'data.filename' is required Required for document templates
1268 'data.filename' is too long Filename must be at most 25 characters
1269 'data.filename' contains invalid characters Filename must only contain [a-zA-Z0-9_] characters
1272 'data.button_text' is required
1273 'date.button_value' is invalid it should be a valid phone number in case of PHONE_CALL type, or valid URL in case of LINK type
1274 'data.button_text' too long Button Text must be at most 20 characters
1275 The image can be Max 5 MB, format JPG For WhatsApp image template
1276 The video can be Max 16 MB, format MP4 For WhatsApp video template
1277 The document can be Max 100 MB, format PDF For WhatsApp document template
1278 File extension can be only: .bmp, .gif, .jpg, .jpeg, .png, .svg, .webp. maximum size 24 MB For Viber image template
1279 File extension can be only: .3gpp, .m4v, .mov, .mp4. maximum size is 200 MB For Viber video template
1280 File extension can be only: .txt, .doc, .docx, .dot, .dotx, .rtf, .odt, .odf, .fodt, .info.pdf, .xps, .pdax, .eps.xls, .xlsx, .xltx, .xlsm, .csv, .ods, .fods. maximum size 200 MB For Viber document template
1282 URL should start with with 'https://' and have maximum length of 1000 characters For Viber URLs
1283 Document name should be Maximum 25 characters Viber filename must be at most 25 characters
1284 Both 'data.button_value' and 'data.button_text' are required in case one of them specified or both of them must be removed For Viber template with buttons
1285 Text + Image combination not allowed (button is missing) For Viber image template
1287 Image and Text combination not supported by Viber For Viber image template
1289 'data.media_id' is invalid Should be valid UUID
1291 'data.type' is invalid for the selected channel For Viber and Whatsapp should pass valid type
1306 'data.survey_options' is required and must not be empty for Viber survey templates
1307 'data.carousel_items' is required and must not be empty for Viber carousel templates For Viber carousel template
1308 'data.carousel_items' is required and must not be empty for Viber carousel templates Carousel must contain between 2 and 5 items
1310 'data.carousel_items[].action_url' must start with https:// and have a maximum length of 1000 characters For Viber carousel template
1311 'data.survey_options' must contain between 2 and 5 options
1313 label max length for primary button is 10 characters Carousel item's primary button's label max length for primary button is 10 characters
1314 Each option in 'data.survey_options' must not exceed 50 characters For Viber survey template
1315 title should be between 2 and 38 characters Carousel item's title should be between 2 and 38 characters
1316 label max length for secondary button is 12 characters Carousel item's secondary button's label max length for primary button is 10 characters
1317 Primary button is required for carousel template. For Viber carousel template
1319 data.carousel_items[].mediaId' must be a UUID. For Viber carousel template
1320 action url is required for Viber carousel buttons For Viber carousel template
1321 label is required for Viber carousel buttons. For Viber carousel template
1322 text should not exceed 85 characters for Viber survey templates For Viber survey template
1324 'data.carousel_items[].imageUrl' must start with https:// and have a maximum length of 1000 characters For Viber carousel template
1325 Each option in 'data.survey_options' must not be less than 2 characters. For Viber survey template
409

Conflict:

Code Message
1258 'data.name' should be unique
Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json