Create Webhook Subscription
strava.create_webhook_subscription
ActionBusiness appsconnection required
Calls the Strava API with the connection's credentials.
Subscribe to Strava activity and athlete events for this application.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Strava
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
callback_url Public HTTPS URL Strava will post events to, at most 255 characters. It must already answer Strava's validation handshake, so point it at a published trigger.webhook node rather than one you are about to create. | string | Yes | — | ≤ 255 characters; url format | https://mantle.example.com/webhooks/strava-events |
verify_token A string of your own choosing. Strava echoes it back to the callback during validation so the callback can prove the request came from this subscription. | string | Yes | — | credential material | credential |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"callback_url": "https://mantle.example.com/webhooks/strava-events"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The new subscription's Strava id. | number | — |
application_id The Strava application the subscription is for. | number | — |
callback_url The callback Strava validated and stored. | string | — |
created_at When the subscription was created. | string | — |
updated_at When it was last changed. | string | — |
{
"application_id": 0,
"callback_url": "",
"created_at": "",
"id": 0,
"updated_at": ""
}See Create Webhook Subscription run in a workflow.
In a technical demo we add the Strava connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.