Enable webhook
curl --request POST \
--url https://api.example.com/api/v2/webhooks/{id}/enable{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"serviceProviderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"targetAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"targetAccountName": "<string>",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"eventTypes": [
"<string>"
],
"monitoredAccountIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"hasSigningToken": true,
"disableReason": "<string>",
"disabledAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"lastModifiedAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}Webhooks
Enable webhook
POST
/
api
/
v2
/
webhooks
/
{id}
/
enable
Enable webhook
curl --request POST \
--url https://api.example.com/api/v2/webhooks/{id}/enable{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"serviceProviderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"targetAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"targetAccountName": "<string>",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"url": "<string>",
"eventTypes": [
"<string>"
],
"monitoredAccountIds": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"hasSigningToken": true,
"disableReason": "<string>",
"disabledAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"lastModifiedAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "<string>",
"timestamp": "<string>"
}
}⌘I