Skip to main content
POST
Create webhook endpoint

Body

application/json
url
string
required

HTTPS URL that receives signed POST requests. Private and internal addresses are rejected.

Maximum string length: 2048
eventTypes
enum<string>[]
required
Minimum array length: 1
Available options:
run.completed,
pr_review.published
description
string
Maximum string length: 200
testPlanShortIds
string[]

Send run.completed only for runs of these test plans. Omit to send it for every run.

Required array length: 1 - 100 elements
Pattern: ^pln(-.+_.+|_.+)$
onlyFailures
boolean

Send run.completed only when the run failed or errored.

projectShortId
string

Target a specific project by its prefixed short ID (proj-slug_shortId or proj_shortId), as returned by the projects API. Required for organization-scoped API keys; project-scoped keys may only pass their own project's short ID.

Pattern: ^proj(-.+_.+|_.+)$

Response

200 - application/json

The request has succeeded.

success
boolean
required
endpoint
object
required
secret
string
required

Signing secret (whsec_...) for verifying the webhook-signature header per the Standard Webhooks spec. Store it now: it is only returned here.