Templates APIs
APIs for WhatsApp message templates
| Endpoint | Method | Path |
|---|---|---|
| Edit template | PUT | /bizgate/app/{appId}/template/{templateId} |
| Sync templates for app | POST | /bizgate/app/{appId}/template/sync |
| Get templates from metalibrary | GET | /bizgate/app/{appId}/template/metalibrary |
| Create template from metalibrary | POST | /bizgate/app/{appId}/template/metalibrary |
| Upload template media example | POST | /bizgate/app/{appId}/template/example |
| List templates for app | GET | /bizgate/app/{appId}/template |
| Create new template | POST | /bizgate/app/{appId}/template |
| Create text template | POST | /bizgate/app/{appId}/template?templateType=TEXT&category=MARKETING |
| Create text template with named parameters | POST | /bizgate/app/{appId}/template?templateType=TEXT&category=UTILITY |
| Create image template | POST | /bizgate/app/{appId}/template?templateType=IMAGE&category=MARKETING |
| Create video template | POST | /bizgate/app/{appId}/template?templateType=VIDEO&category=MARKETING |
| Create document template | POST | /bizgate/app/{appId}/template?templateType=DOCUMENT&category=UTILITY |
| Create location template | POST | /bizgate/app/{appId}/template?templateType=LOCATION&category=UTILITY |
| Create carousel template | POST | /bizgate/app/{appId}/template?templateType=CAROUSEL&category=MARKETING |
| Create catalog template | POST | /bizgate/app/{appId}/template?templateType=CATALOG&category=MARKETING |
| Create multi-product template | POST | /bizgate/app/{appId}/template?templateType=PRODUCT&category=MARKETING |
| Create limited-time offer template | POST | /bizgate/app/{appId}/template?templateType=TEXT&category=MARKETING&isLTO=true |
| Create authentication (OTP) template | POST | /bizgate/app/{appId}/template?templateType=TEXT&category=AUTHENTICATION |
| Create GIF template | POST | /bizgate/app/{appId}/template?templateType=GIF&category=MARKETING |
| Create PIX payment template (Brazil) | POST | /bizgate/app/{appId}/template?templateType=TEXT&category=MARKETING&sendAsPixTemplate=true |
| Create template with contact-info button | POST | /bizgate/app/{appId}/template?templateType=TEXT&category=UTILITY&source=PARTNER_PORTAL |
| Delete template by element name | DELETE | /bizgate/app/{appId}/template/{elementName} |
Base URL: https://partner.gupshup.io/partner
See Getting Started for authentication, rate limits, and error codes.