# get template by template name to botId

**GET** `/api/v1/get-templateId-by-templateName-and-botId`

Product: [RCS](https://devdocs.pinnacle.in/docs/rcs.md)  
Version: [1.0](https://devdocs.pinnacle.in/docs/rcs/1-0.md)

## Request

URL: `https://api.example.com/rcs/api/v1/get-templateId-by-templateName-and-botId`

Authentication location: `none`

Authentication name: `none`

### Request schema


```json
{
  "type": "object",
  "properties": {
    "botId": {
      "type": "string",
      "x-parameter-in": "query"
    },
    "templateName": {
      "type": "string",
      "x-parameter-in": "query"
    }
  }
}
```

### Request example


```json
{
  "botId": "6690deca0e202b00019c034d",
  "templateName": "Diwali_Shopping_1"
}
```

## Response schema


```json
{}
```

## Response examples


```json
{}
```

## Status codes


```json
[
  {
    "code": 200,
    "description": "Successful response"
  }
]
```
