Authentication
All Valyx API requests require authentication using a signature-based header.If the signature is missing or invalid, the API will respond with an HTTP 401 Unauthorized error.
Header Required
| Header Name | Required | Description |
|---|---|---|
X-Valyx-Signature | Yes | The HMAC signature used to verify the authenticity of the request. |
How It Works
TheX-Valyx-Signature is generated using your Valyx API Secret.When you send a request:
- Concatenate specific request components (method, path, timestamp, and body) into a string.
- Sign the string using HMAC-SHA256 with your API Secret.
- Encode the result as a hexadecimal string.
- Add it to the request headers as
X-Valyx-Signature.