Skip to main content
POST
Create a webhook endpoint

Authorizations

X-API-Key
string
header
required

Body

application/json
events
enum<string>[]
required

The event types this endpoint receives.

Available options:
program.revised,
session.changed,
proposal.created,
feasibility.warning,
event.rejected,
teammate.claimed,
teammate.disconnected,
location.inventory_changed,
teammate.at_risk,
workout.logged,
body_state.changed,
session.adapted,
adaptation.vetoed,
measurement.recorded,
measurement.corrected,
measurement.withdrawn,
attestation.created,
attestation.revoked
url
string
required

An https URL on a public host. Redirects are not followed.

Maximum string length: 2048
description
string | null
Maximum string length: 255

Response

created_at
string<date-time>
required
description
string | null
required
disabled_reason
string | null
required

Why the endpoint was disabled, such as delivery_failures.

events
string[]
required

The event types this endpoint receives.

id
string<uuid>
required
mode
enum<string>
required
Available options:
test,
live
previous_secret_expires_at
string<date-time> | null
required

Until when deliveries are also signed with the secret you rotated away from.

secret
string
required

The signing secret. Shown once: store it now, it cannot be read again.

status
enum<string>
required

active receives events. paused is your own switch. disabled is set after days of failed deliveries.

Available options:
active,
paused,
disabled
updated_at
string<date-time>
required
url
string
required