Skip to main content

Create webhook

Select

SaaS
Customer Managed

This API creates a webhook in commandcenter

Request Body
  • headers string required

    Enter the name-value pairs separated by comma

  • name string required

    Name of the webhook

  • secret string

    Secret HMAC Authentication string

  • ssl boolean required

    Set this to true if Secret is added

  • url string required

    WebHook URL

Responses

OK


Schema
  • errorCode integer
POST /webhook    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body

{
"headers": "string",
"name": "string",
"secret": "string",
"ssl": true,
"url": "string"
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/webhook' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"headers": "string",
"name": "string",
"secret": "string",
"ssl": true,
"url": "string"
}'