# Set relay webhook url

**PUT** `/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/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": "6996d1ce50cc911a8c97662f",
  "relayWebhookUrl": "https://onespace.fabmediatech.com"
}
```

## Response schema


```json
{}
```

## Response examples


```json
{}
```

## Status codes


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