Skip to main content

Documentation Index

Fetch the complete documentation index at: https://qawolf-mktg-5566-document-qawolfci-sdk.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

POST https://app.qawolf.com/api/webhooks/deploy_success
If your build server supports node, use @qawolf/ci-sdk instead of calling this endpoint directly.

Request

curl -X POST https://app.qawolf.com/api/webhooks/deploy_success \
  -H "Authorization: Bearer $QAWOLF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "branch": "main",
    "sha": "de12adda500f2bc5a29dbd89f4fb1b0e1a31de81",
    "deployment_type": "staging",
    "deployment_url": "https://staging.example.com",
    "hosting_service": "GitHub"
  }'

Request headers

HeaderValue
AuthorizationBearer <your-api-key>
Content-Typeapplication/json

Request body

All fields are optional.

Commonly used

FieldTypeDescription
branchstringGit branch name. Used to display in the UI and match pull requests on any linked repo.
shastringGit commit SHA. Used to create GitHub commit checks and display a link to the commit in the run UI.
deployment_typestringRequired if the target trigger is configured to match a deployment type.
deployment_urlstringOverrides the environment URL. Available in tests as process.env.URL.

Advanced

FieldTypeDescription
hosting_servicestring"GitHub" or "GitLab". Defaults to "GitHub".
commit_urlstringPass with sha if no hosting service repo is configured. Makes the commit ID a clickable link in the QA Wolf UI.
variablesobjectKey/value pairs that override environment variables for every run triggered by this notification.
deduplication_keystringCustom key controlling run cancellation behavior. By default, new runs cancel ongoing runs with the same branch/environment combination.
ephemeral_environmentbooleanPass with deployment_url if the deployment is not associated with a code-hosting integration.

Response

{
  "results": [
    {
      "created_suite_id": "cl1f6i0in15676w115vt43vw2",
      "trigger_id": "ckzoog9wy01720xyrvl8ah7gu"
    }
  ]
}
results is an array of matched triggers. Each entry contains either created_suite_id if a run was created, duplicate_suite_id if a run for this SHA already exists, or failure_reason if the run could not be created.

Response codes

CodeDescription
200Request accepted. Inspect the response body to confirm a run was created.
401Missing or invalid API key.
403Forbidden. Usually indicates a disabled team.
404Run not found.
405Method not allowed. Use POST.
500Internal server error. Contact support if the issue persists.
A 200 response does not guarantee a run was created. Inspect the response body to confirm.
Last modified on May 28, 2026