Skip to content

Webhooks

Webhook allows TestCLIX to send real-time notifications to your system whenever a scenario run finishes.

Instead of manually checking results, you can automatically trigger workflows such as:

  • CI/CD deployments
  • Monitoring and alerting
  • Reporting pipelines
  • Custom integrations

Webhook is delivered as an HTTP POST request containing a JSON payload with execution details.

Webhook events are triggered when scenario test run results are available.

You can enable and manage Webhook from the application Settings.

  1. Open Settings from the left sidebar menu.

  2. Select Webhook.

  3. Turn Webhook notifications ON.

  4. Enter your Webhook endpoint URL.

  5. (Optional) Configure a Webhook secret for request verification.

  6. (Optional) Add up to 10 custom headers.

  7. Click Save to apply your changes.

    Webhook configuration view

Webhook requests are sent as HTTP POST calls.

POST /webhooks/testclix HTTP/1.1
Host: your-endpoint.com
Content-Type: application/json
X-Clix-Signature: a1b2c3d4e5f6...

Webhook request contains a JSON payload describing the completed scenario run.

FieldTypeDescription
test_idstringUnique identifier of the scenario run
statusstringResult: Pass or Error
timestampnumberUnix timestamp of the event
created_atstringScenario start time in ISO format
{
"timestamp": 1696332892.123456,
"test_id": "TEST_ID_EXAMPLE",
"status": "pass",
"created_at": "2022-08-17T09:57:39Z"
}

To verify that Webhook requests originate from TestCLIX, you can configure a Webhook secret.

When a secret is enabled, Webhook request includes the following header:

X-Clix-Signature

The signature is generated using:

  • HMAC-SHA1
  • Your configured Webhook secret
  • The raw JSON request payload

This allows your server to confirm that the request was sent by TestCLIX and was not modified by a third party.

The signature is sent in the request header using the following format:

X-Clix-Signature: <signature>

If your endpoint does not respond with a 200 OK status, TestCLIX will automatically retry the webhook delivery up to 3 times.

Send a test payload to validate configuration:

  1. Click the Test Webhook button.

  2. Verify reception at your endpoint.

  3. Check signature validation.

  4. Confirm with 200 OK response.

    Test Webhook view