Get Variant Detail
Retrieve detailed information about a specific variant including its content, conditions, and vendor approval status.
Authorizations
Pass as Authorization: ServiceToken <token>. You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Path Parameters
email, sms, whatsapp, inbox, androidpush, iospush, webpush, slack, ms_teams Variant identifier.
Response
Variant details retrieved. Includes full content and vendor_approvals objects.
Schema URL for variant validation.
"https://schema.suprsend.com/template/v2/variant_schema.json"
Channel this variant belongs to.
"email"
Variant identifier.
"default"
Tenant this variant is scoped to, or null for default.
Locale code.
"en"
Conditions for variant selection at send time.
Content hash for change detection.
Whether this variant requires vendor approval (SMS DLT, WhatsApp).
System-generated template name for vendor approval.
Current approval status of the variant.
auto_approved, pending, sent_for_approval, approved, rejected, discarded, upload_failed Reason provided when a variant is discarded.
Timestamp when the variant was approved.
Whether the variant has validation errors.
Ordering within the channel + tenant + locale combination.
Action taken in the latest commit (added, updated, unchanged, deleted, or null in draft).
added, updated, unchanged, deleted Timestamp when the variant was created.
Channel-specific content. Structure varies by channel. Returned by the variant detail endpoint, and by the variant list endpoints only when include_content=true is passed.
Vendor approval entries (WhatsApp/SMS only). Returned by the variant detail endpoint, and by the variant list endpoints only when include_content=true is passed.