Skip to main content

Overview

Webhook requests from automations and integrations include five specific headers that help you identify and validate the authenticity of each call.

Webhook headers

HeaderDescription
X-ClarusWMS-DomainThe base URL that initiated the webhook call (your login URL)
X-ClarusWMS-API-DomainThe API URL linked to the domain
X-ClarusWMS-SubdomainThe subdomain part of the URL (e.g., customer)
X-ClarusWMS-Automation-IDThe unique ID of the automation that triggered the webhook (e.g., 43)
X-ClarusWMS-Integration-IDThe ID of the linked integration (only included if applicable, e.g., 723)

Validation steps

1

Check X-ClarusWMS-Domain

Verify the origin of the request matches your expected base URL.
2

Check X-ClarusWMS-API-Domain

Confirm the associated API endpoint matches the originating domain.
3

Check X-ClarusWMS-Subdomain

Pinpoint the specific subdomain from which the call originated.
4

Check X-ClarusWMS-Automation-ID

Trace which automation initiated the call using its unique ID.
5

Check X-ClarusWMS-Integration-ID

If present, identify the specific integration involved.
6

Validate authenticity

Use the combined header values to confirm the request is genuine and from a trusted source.
These headers are essential for confirming that a webhook request to your URL is legitimate and has not been spoofed.