Create Media Template

Create a template with a media header (Image, Video, or Document). You must provide a valid header_handle for the media sample.

Example Request Body

{
  "name": "TEMPLATE NAME",
  "language": "en",
  "category": "UTILITY",
  "components": [
    {
      "type": "HEADER",
      "format": "DOCUMENT",
      "example": {
        "header_handle": [
          "4::YXBwbGljYXRpb24vcGRm:ARbRac-7KRV919yIfV5nBwdQ7Gg6EQUyWW_BF8TMpBD_vQES-jRDnh_ljDxHQYqm5blYGoXD1jWowPkPTlQ2Pr2XZwOHoFTW2VM5l2EDBkGQBA:e:1705221283:256725303808337:100052252050649:ARa0nL2E0drGk4fXSCs"
        ]
      }
    },
    {
      "type": "BODY",
      "text": "Hello {{1}}. Your account is now LIVE, enjoy our services!",
      "example": {
        "body_text": [
          [
            "Name"
          ]
        ]
      }
    }
  ]
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to v24.0
string
required
Body Params
string
string
Defaults to en

Defaults to 'en' (English).

string
enum
Allowed:
components
array of objects
components
Headers
string
required

Provide your Access Token. Format: YOUR_API_KEY

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json