circle-info
Squadcast is now SolarWinds Incident Response

Extensions/Webhooks

Get All Webhooks

get
/v3/extensions/event-webhooks

Returns all the webhooks of the organization. Requires access_token as a Bearer {{token}} in the Authorization header with read scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
page-limitstringOptional
offsetstringOptional
Responses
chevron-right
200

The request has succeeded.

application/json
get
/v3/extensions/event-webhooks

Create Webhook

post
/v3/extensions/event-webhooks

Add webhook to the organization. Returns the webhook object in response. Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired

Name of the webhook

descriptionstringOptional

Description of the webhook

headerany ofOptional

Headers to be sent with the webhook

objectOptional
or
nullOptional
filtersany ofOptional

Filters to apply to the webhook

or
nullOptional
max_retryinteger · uint8Optional

Maximum number of retries for the webhook

teamsany ofOptional

List of team IDs to which this webhook is applicable

string[]Optional
or
nullOptional
is_all_teams_configuredbooleanOptional

Set to true if the webhook is configured for all teams

custom_payload_template_slugstringOptional

Slug of the custom payload template

languagestringOptional

Language for the webhook payload

mail_idsany ofOptional

List of email IDs for notification

string[]Optional
or
nullOptional
trigger_typestringRequired

Type of trigger

custom_payloadstringOptional

Custom payload for the webhook

payload_typestringOptional

Type of payload

Responses
post
/v3/extensions/event-webhooks

Get Webhook By ID

get
/v3/extensions/event-webhooks/{eventWebhookID}

Returns a webhooks details of the given eventWebhookID in the request param. Requires access_token as a Bearer {{token}} in the Authorization header with read scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
eventWebhookIDstringRequired

(Required) event webhook ID

Responses
chevron-right
200

The request has succeeded.

application/json
get
/v3/extensions/event-webhooks/{eventWebhookID}

Update Webhook

put
/v3/extensions/event-webhooks/{eventWebhookID}

Update organization webhook details. Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
eventWebhookIDstringRequired
Body
namestringRequired

Name of the webhook

descriptionstringOptional

Description of the webhook

headerany ofOptional

Headers to be sent with the webhook

objectOptional
or
nullOptional
filtersany ofOptional

Filters to apply to the webhook

or
nullOptional
max_retryinteger · uint8Optional

Maximum number of retries for the webhook

teamsany ofOptional

List of team IDs to which this webhook is applicable

string[]Optional
or
nullOptional
is_all_teams_configuredbooleanOptional

Set to true if the webhook is configured for all teams

custom_payload_template_slugstringOptional

Slug of the custom payload template

languagestringOptional

Language for the webhook payload

mail_idsany ofOptional

List of email IDs for notification

string[]Optional
or
nullOptional
trigger_typestringRequired

Type of trigger

custom_payloadstringOptional

Custom payload for the webhook

payload_typestringOptional

Type of payload

Responses
chevron-right
200

The request has succeeded.

application/json
put
/v3/extensions/event-webhooks/{eventWebhookID}

Delete Webhook

delete
/v3/extensions/event-webhooks/{eventWebhookID}

Remove webhook from the organization. Upon success, the webhook will be removed from the organization. Requires access_token as a Bearer {{token}} in the Authorization header with user-write scope.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
eventWebhookIDstringRequired

(Required) event webhook ID

Responses
delete
/v3/extensions/event-webhooks/{eventWebhookID}

Last updated