# Video Template with Multiple Button and Dynamic URL Placeholder

**POST** `/{wabaid}/message_templates`

Product: [WhatsApp](https://devdocs.pinnacle.in/docs/whatsapp.md)  
Version: [3.0](https://devdocs.pinnacle.in/docs/whatsapp/3-0.md)

This API is used for creating video templates with multiple buttons and a dynamic url placeholder.

## Request

URL: `https://partnersv1.pinbot.ai/v3/{wabaid}/message_templates`

Authentication location: `header`

Authentication name: `apikey`

### Request schema


```json
{
  "type": "object",
  "properties": {
    "raw_example": {
      "type": "string"
    }
  }
}
```

### Request example


```json
{
  "raw_example": "{\n\"name\": \"sample_partners_api_img_1_a_1\",\n\"category\": \"MARKETING\",\n\"components\": [\n{\n\"type\": \"header\",\n\"format\": \"video\",\n\"example\": {\n\"header_handle\": [\n\"4::aW1hZ2UvanBlZw==:ARZsON6K-8ukPIq2h95wJ9UUCr439vX2odOWPJ0TjPBISD0\nWIf04LiFVs--EFJdZjCCI8gOUGXVN_1Vn8rz q4t6XIc-R7ryeLPAAnQ2bHopw:e:17119\n80467:1849455295211775:100061459561823:ARY_I5AUJyyOhp-Yzdw\"\n]\n}\n\n},\n{\n\"type\": \"body\",\n\"text\": \"Hey user,\\r\\nWelceleservices pvt ltd.\\r\\n\\r\\nRegards,\\r\\nPinnacle\"\n},\n{\n\"type\": \"footer\",\n\"text\": \"Use the buge your marketing subscriptions\"\n},\n{\n\"type\": \"buttons\",\n\"buttons\": [\n{\n\"type\": \"quick_reply\",\n\"text\": \"Button1\"\n},\n{\n\"type\": \"quick_reply\",\n\"text\": \"Button2\"\n},\n{\n\"type\": \"quick_reply\",\n\"text\": \"Button3\"\n},\n{\n\"type\": \"quick_reply\",\n\"text\": \"Button4\"\n},\n\n{\n\"type\": \"quick_reply\",\n\"text\": \"Button5\"\n},\n{\n\"type\": \"quick_reply\",\n\"text\": \"Button6\"\n},\n{\n\"type\": \"quick_reply\",\n\"text\": \"Button7\"\n},\n{\n\"type\": \"url\",\n\"text\": \"click\",\n\"url\":\n\"https:\n},\n{\n\"type\": \"phone_number\",\n\"text\": \"Call\",\n\"phone_number\": \"+919921447944\"\n}\n]\n}\n],\n\"language\": \"en_US\",\n\"allow_category_change\": true\n\n}"
}
```

## Response schema


```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "category": {
      "type": "string"
    }
  }
}
```

## Response examples


```json
{
  "200": {
    "id": "123412341234123",
    "status": "APPROVED",
    "category": "MARKETING"
  }
}
```

## Status codes


```json
[
  {
    "code": 200,
    "description": "The request was successful."
  },
  {
    "code": 400,
    "description": "Bad request or invalid parameters."
  },
  {
    "code": 401,
    "description": "API key is missing or invalid."
  },
  {
    "code": 403,
    "description": "The request is not authorized for this resource."
  },
  {
    "code": 404,
    "description": "The requested resource was not found."
  },
  {
    "code": 500,
    "description": "The server encountered an error."
  }
]
```
