Skip to main content

Tracker Webhook Upsert

WHR Tracker Webhook Upsert API — v1.1 (1.1.0)

Download OpenAPI specification:Download

Register or update the HTTPS webhook destination for a tracker.

Create or Update a Tracker Webhook

Register or update one HTTPS webhook destination per tracker. Only supplied fields change. See the Webhook Delivery guide for notification payloads, signatures and retries.

Authorizations:
(UsernameHeaderPasswordHeader)
Request Body schema: application/x-www-form-urlencoded
required
id
required
string

UUID of a published tracker owned by the account.

url
string <uri>

Public HTTPS callback URL. Required when first enabling a webhook.

enabled
integer
Default: 1
Enum: 0 1

1 enables delivery; 0 pauses delivery.

rotateSecret
integer
Enum: 0 1

Set to 1 to issue a new signing secret; store it securely.

Responses

Response Schema: application/json
required
object
id
required
string

Webhook configuration ID.

trackerId
required
string
url
required
string <uri>
enabled
required
integer
Enum: 0 1
action
required
string
Enum: "created" "updated"
signingSecret
string

Returned only when created or rotated; never on ordinary updates.

Request samples

Content type
application/x-www-form-urlencoded
Example
id=3c678c5c76ebb0b53bab7333d33cfa61&url=https%3A%2F%2Fclient.example.com%2Fwebhooks%2Fwhr&enabled=1

Response samples

Content type
application/json
Example
{}