Add or update a vendor approval entry for a WhatsApp or SMS variant. Use this to record approval status from the vendor portal, including the vendor template ID and name.
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
whatsapp, sms live Current approval status.
pending, sent_for_approval, approved, rejected "approved"
Slug of the vendor (e.g., twilio-whatsapp, gupshup-whatsapp, msg91-sms).
"twilio-whatsapp"
Unique vendor identifier (e.g., WABA ID for WhatsApp).
"waba_id-123221"
(Required if approved) Template name as registered at the vendor portal.
"tpl_v12"
(Required if approved) Template ID from the vendor portal.
"1232"
(Optional) Locale code at the vendor end.
"en"
(Optional) Template category at the vendor end.
UTILITY, MARKETING, AUTHENTICATION "UTILITY"
(Optional, SMS only for msg91-sms) Provider-level template ID.
(Required if rejected) Reason for rejection.
Vendor approval entry updated
The response is of type object.