Create a new channel.
Security
apikeyAuth(Required scopes: readwrite)
POST
curl -i -X POST \
https://urlscan.io/api/v1/user/channels/ \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"channel": {
"_id": "{{channelId}}",
"type": "webhook",
"webhookURL": "https://example.com/cgi-bin/urlscan",
"name": "Test webhook",
"description": "Webhook testing channel.",
"isActive": true,
"ignoreTime": false
}
}'Response
{ "channel": { "_id": "{{channelId}}", "type": "webhook", "webhookURL": "https://example.com/cgi-bin/urlscan", "name": "Test webhook", "description": "Webhook testing channel.", "isActive": true, "ignoreTime": false } }