Webhooks
Patch subscription
Changed onUpdate specific fields of a webhook subscription.
post/webhooks-api/v2/accounts/{accountUid}/subscriptions/{subscriptionUid}/patch
Request
- Base URLhttps://api.smartling.com
- AuthHTTP bearer
Path parameters
accountUidstring required
The account’s unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.
subscriptionUidstring required
Unique identifier of the subscription.
Request body
Example request
{
"subscriptionName": "SourceIssue Created Subscription",
"description": "My subscription",
"requestHeaders": [
{
"headerName": "CustomHeader1",
"headerValue": "HeaderValue1"
}
],
"events": [
{
"type": "sourceIssue.comment.created",
"schemaVersion": "1.0"
}
],
"projectUids": [
"84c012a33"
]
}Response
Success
Changes
- info
endpoint added
- info