# Set relay webhook url | QA ONPREM

**PUT** `/mgmt/api/v1/bot/config/set-relay-webhook-url`

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/mgmt/api/v1/bot/config/set-relay-webhook-url`

Authentication location: `none`

Authentication name: `none`

### Request schema


```json
{
  "type": "object",
  "properties": {
    "botId": {
      "type": "string"
    },
    "relayWebhookUrl": {
      "type": "string"
    }
  }
}
```

### Request example


```json
{
  "botId": "698c4accaa0f38dc2582434e",
  "relayWebhookUrl": "https://qarcs-api.pinlab.in"
}
```

## Response schema


```json
{}
```

## Response examples


```json
{}
```

## Status codes


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