apiId. If your account has a list of allowed IP addresses, the call must come from one of them.multipart/form-data, one form field for each value below. A JSON body is not read.Active WhatsApp sender (GET /api/partners/senders).name: use lower-case letters, digits and underscores, for example appointment_reminder.message: write variables as {{variable_name}}, for example {{date}}. Do not put a variable at the very start or the very end of the text.country: three-letter country code in capital letters, for example ARM. It sets the price of the messages.languageCode: for example en or en-US.whatsAppTemplateCategory: Utility, Marketing or Authentication.attachments: files for the header of the message, as .jpg, .jpeg, .png or .pdf. Can be left out.data holds the id of the new template. Then read the template list (GET /api/partners/whatsapp-templates) until whatsAppApprovalStatus is Approved, and pass the id as templateId when you send a campaign.Something went wrong. Please try again. Check the rules above before you send it again.curl --location 'https://api.veloconnect.me/api/partners/whatsapp-templates' \
--header 'Accept: application/json' \
--header 'apiId: <api-key>' \
--form 'name="appointment_reminder"' \
--form 'message="Hello, this is {{name}}. Your visit is on {{date}}. See you soon."' \
--form 'country="ARM"' \
--form 'languageCode="en"' \
--form 'whatsAppTemplateCategory="Utility"' \
--form 'attachments=@"clinic-header.png"'{
"data": [
318
]
}