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:

CodeMessageDescription
1241'data.wa_sender_code' required for WhatsApp template
1254'data.text' is requiredRequired 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 longText must be at most 1000 characters
1261'data.name' is requiredFor WhatsApp name is required
1263'data.name' is too longName must be at most 45 characters
1264'data.url' is requiredRequired for image, video and document templates without 'media_id'
1265'data.url' is too longURL must be at most 2083 characters
1266'data.url' contains invalid charactersURL must be valid
1267'data.filename' is requiredRequired for document templates
1268'data.filename' is too longFilename must be at most 25 characters
1269'data.filename' contains invalid charactersFilename 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 longButton Text must be at most 20 characters
1275The image can be Max 5 MB, format JPGFor WhatsApp image template
1276The video can be Max 16 MB, format MP4For WhatsApp video template
1277The document can be Max 100 MB, format PDFFor WhatsApp document template
1278File extension can be only: .bmp, .gif, .jpg, .jpeg, .png, .svg, .webp. maximum size 24 MBFor Viber image template
1279File extension can be only: .3gpp, .m4v, .mov, .mp4. maximum size is 200 MBFor Viber video template
1280File 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 MBFor Viber document template
1282URL should start with with 'https://' and have maximum length of 1000 charactersFor Viber URLs
1283Document name should be Maximum 25 charactersViber filename must be at most 25 characters
1284Both 'data.button_value' and 'data.button_text' are required in case one of them specified or both of them must be removedFor Viber template with buttons
1285Text + Image combination not allowed (button is missing)For Viber image template
1287Image and Text combination not supported by ViberFor Viber image template
1289'data.media_id' is invalidShould be valid UUID
1291'data.type' is invalid for the selected channelFor Viber and Whatsapp should pass valid type

409

Conflict:

CodeMessage
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