v2
latestOpenAPI 3.1.12026-07-2613060964.2 KBAdd or Update Vendor Approval
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.
patch/v2/{workspace}/template/{template_slug}/channel/{channel}/variant/{variant_id}/vendor_approval/
Path parameters
workspacestring required
template_slugstring required
channel'whatsapp' | 'sms' required
variant_idstring required
Query parameters
mode'live'
Request body
Example request
{
"approval_status": "approved",
"vendor_slug": "twilio-whatsapp",
"vendor_uid": "waba_id-123221",
"vendor_template_name": "tpl_v12",
"vendor_template_id": "1232",
"vendor_locale_code": "en",
"vendor_template_category": "UTILITY"
}Response
Vendor approval entry updated
object required