Skip to main content
POST
/
api
/
v1
/
webhooks
/
endpoints
/
{endpoint_id}
/
test
Send Test Event
curl --request POST \
  --url https://api.example.com/api/v1/webhooks/endpoints/{endpoint_id}/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "event_type": "workout.created"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

endpoint_id
string
required

Body

application/json
event_type
string
default:workout.created

Event type to include in the test payload.

Response

Successful Response