Webhooks

Patch subscription

Changed on

Update specific fields of a webhook subscription.

post/webhooks-api/v2/accounts/{accountUid}/subscriptions/{subscriptionUid}/patch

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP 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

subscriptionNamestring

Display name for the subscription.

descriptionstring

Human-readable description.

projectUidsProjectUid[]

Optional array of unique project identifiers. If no ids are provided, all projects in the account are included by default.

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