Insert excerpt |
---|
| _ExcerptBetaAPI |
---|
| _ExcerptBetaAPI |
---|
nopanel | true |
---|
|
The
PATCH /subscriptions/{subscriptionId}
endpoint can be used to update an existing subscription.
...
Type | Required | Example |
---|
String | True | 2V1d4FfmK5ho8aiomIwP9QdpQjv |
The unique identifier for the subscription.
...
Code Block |
---|
|
{
"name": "My app",
"url": "https://your-application.com/abc/123",
"events": [
"agent.presencechanged.v0v1",
"channel.connected.v0v1"
],
"enabled": false,
"secret": "OFe4WHqXISxMAgoYneiFhgdGrOgYeToYPN3HjIO4xAxDvWd/oIKTW1P4A6GLXN0McDGlLtnTn1KCGCa+W5Gu="
} |
...
Code Block |
---|
|
{
"subscriptionId": "2V1EhIxvsBPpnqf6Hqv9mtPZx1a",
"name": "My app",
"url": "https://your-application.com/webhooks/events",
"events": [
"agent.presencechanged.v0v1",
"channel.alerting.v0v1"
],
"enabled": false
} |
The response contains the following properties:
Insert excerpt |
---|
| _ExcerptAPISubscriptionWebhooks |
---|
| _ExcerptAPISubscriptionWebhooks |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
| _ExcerptRunInPostman |
---|
| _ExcerptRunInPostman |
---|
nopanel | true |
---|
|