Destinations
DestinationsEligible
Get delivery mechanism eligibility
client.alerting.destinations.eligible.get(EligibleGetParams { account_id } params, RequestOptionsoptions?): EligibleGetResponse { eligible, ready, type }
GET/accounts/{account_id}/alerting/v3/destinations/eligible
DestinationsPagerduty
List PagerDuty services
client.alerting.destinations.pagerduty.get(PagerdutyGetParams { account_id } params, RequestOptionsoptions?): SinglePage<Pagerduty { id, name } >
GET/accounts/{account_id}/alerting/v3/destinations/pagerduty
Create PagerDuty integration token
client.alerting.destinations.pagerduty.create(PagerdutyCreateParams { account_id } params, RequestOptionsoptions?): PagerdutyCreateResponse { id }
POST/accounts/{account_id}/alerting/v3/destinations/pagerduty/connect
Delete PagerDuty Services
client.alerting.destinations.pagerduty.delete(PagerdutyDeleteParams { account_id } params, RequestOptionsoptions?): PagerdutyDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/alerting/v3/destinations/pagerduty
Connect PagerDuty
client.alerting.destinations.pagerduty.link(stringtokenId, PagerdutyLinkParams { account_id } params, RequestOptionsoptions?): PagerdutyLinkResponse { id }
GET/accounts/{account_id}/alerting/v3/destinations/pagerduty/connect/{token_id}
DestinationsWebhooks
List webhooks
client.alerting.destinations.webhooks.list(WebhookListParams { account_id } params, RequestOptionsoptions?): SinglePage<Webhooks { id, created_at, last_failure, 5 more } >
GET/accounts/{account_id}/alerting/v3/destinations/webhooks
Get a webhook
client.alerting.destinations.webhooks.get(stringwebhookId, WebhookGetParams { account_id } params, RequestOptionsoptions?): Webhooks { id, created_at, last_failure, 5 more }
GET/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}
Create a webhook
client.alerting.destinations.webhooks.create(WebhookCreateParams { account_id, name, url, secret } params, RequestOptionsoptions?): WebhookCreateResponse { id }
POST/accounts/{account_id}/alerting/v3/destinations/webhooks
Update a webhook
client.alerting.destinations.webhooks.update(stringwebhookId, WebhookUpdateParams { account_id, name, url, secret } params, RequestOptionsoptions?): WebhookUpdateResponse { id }
PUT/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}
Delete a webhook
client.alerting.destinations.webhooks.delete(stringwebhookId, WebhookDeleteParams { account_id } params, RequestOptionsoptions?): WebhookDeleteResponse { errors, messages, success }
DELETE/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}