Skip to main content
PATCH
Approve Variant

Authorizations

ServiceToken <token>
string
header
required

You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.

Path Parameters

workspace
string
required
template_slug
string
required
channel
enum<string>
required
Available options:
whatsapp,
sms
variant_id
string
required

Query Parameters

mode
enum<string>
default:live
Available options:
live

Body

application/json
approval_status
enum<string>
required

Current approval status.

Available options:
pending,
sent_for_approval,
approved,
rejected
Example:

"approved"

vendor_slug
string
required

Slug of the vendor (e.g., twilio-whatsapp, gupshup-whatsapp, msg91-sms).

Example:

"twilio-whatsapp"

vendor_uid
string
required

Unique vendor identifier (e.g., WABA ID for WhatsApp).

Example:

"waba_id-123221"

vendor_template_name
string

(Required if approved) Template name as registered at the vendor portal.

Example:

"tpl_v12"

vendor_template_id
string

(Required if approved) Template ID from the vendor portal.

Example:

"1232"

vendor_locale_code
string

(Optional) Locale code at the vendor end.

Example:

"en"

vendor_template_category
enum<string>

(Optional) Template category at the vendor end.

Available options:
UTILITY,
MARKETING,
AUTHENTICATION
Example:

"UTILITY"

provider_template_id
string

(Optional, SMS only for msg91-sms) Provider-level template ID.

comment
string

(Required if rejected) Reason for rejection.

Response

Vendor approval entry updated

The response is of type object.