# Get template with id

**GET** `/{msgtemplateid}`

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 to check the template using template id.

## Request

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

Authentication location: `header`

Authentication name: `apikey`

### Request schema


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

### Request example


```json
{}
```

## Response schema


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

## Response examples


```json
{
  "200": {
    "raw_example": "{\n\"name\": \"ltotemp36013m103\",\n\"components\": [\n{\n\"type\": \"BODY\",\n\"text\": \"Hey User, caribeen ackages!\"\n},\n{\n\"type\": \"LIMITED_TIME_OFFER\",\n\"limited_time_offer\": {\n\"text\": \"Expiring offer!\",\n\"has_expiration\": true\n}\n},\n{\n\"type\": \"BUTTONS\",\n\n\"buttons\": [\n{\n\"type\": \"COPY_CODE\",\n\"text\": \"Copy offer code\",\n\"example\": [ \"CARIBE25\"]\n},\n{\n\"type\": \"URL\",\n\"text\": \"Click\",\n\"url\": \"https:\n\"example\": [\n\"dynamic-url-example\"\n]\n},\n{\n\"type\": \"PHONE_NUMBER\",\n\"text\": \"call\",\n\"phone_number\": \"+917755991051\"\n}\n]\n}\n],\n\"language\": \"en_US\",\n\"status\": \"APPROVED\",\n\"category\": \"MARKETING\",\n\"id\": \"2883983598406625\"\n}\n"
  }
}
```

## 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."
  }
]
```
