# get-botId-by-botName

**GET** `/api/v1/get-botId-by-botName`

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-botId-by-botName`

Authentication location: `none`

Authentication name: `none`

### Request schema


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

### Request example


```json
{
  "botName": "IFAS Edutech"
}
```

## Response schema


```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "botId": {
          "type": "string"
        },
        "botName": {
          "type": "string"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "status": {
      "type": "string"
    }
  }
}
```

## Response examples


```json
{
  "200": {
    "code": 200,
    "data": {
      "botName": "Diggaj Realtyu",
      "message": "Request Unsuccessful Please check Bot Name and try again!"
    },
    "status": "SUCCESS"
  }
}
```

## Status codes


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