v1

latestOpenAPI 3.0.02026-08-065019221.4 KB
Channels

Create Channel

Create a new channel.

post/api/v1/user/channels/

Request body

Example request

{
  "channel": {
    "_id": "{{channelId}}",
    "type": "webhook",
    "webhookURL": "https://example.com/cgi-bin/urlscan",
    "name": "Test webhook",
    "description": "Webhook testing channel.",
    "isActive": true,
    "ignoreTime": false
  }
}

Response

Successful response

Example response

{
  "channel": {
    "_id": "{{channelId}}",
    "type": "webhook",
    "webhookURL": "https://example.com/cgi-bin/urlscan",
    "name": "Test webhook",
    "description": "Webhook testing channel.",
    "isActive": true,
    "ignoreTime": false
  }
}