Send a test webhook
Sends a `webhook.test` event to an active endpoint. The application needs an active installation with the `webhook:manage` permission.
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
appId | stringRequired | path | - |
endpointId | stringRequired | path | - |
x-request-id | string | header | - |
idempotency-key | stringRequired | header | - |
Request #
curl --request POST 'https://strave.gg/api/v2/developer/apps/APP_ID/webhook-endpoints/ENDPOINT_ID/test' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'Response #
201Response for status 201400Response for status 400401Response for status 401403Response for status 403404Response for status 404409Response for status 409412Response for status 412428Response for status 428429Response for status 429500Response for status 500503Response for status 503| Property | Type | Description |
|---|---|---|
data | objectRequired | - |
└id | stringRequired | - |
└applicationId | stringRequired | - |
└installationId | stringRequired | - |
└endpointId | stringRequired | - |
└eventId | stringRequired | - |
└eventType | stringRequired | - |
└status | stringRequired | - |
└attemptCount | integerRequired | - |
└responseStatus | integer | nullRequired | - |
└errorCode | string | nullRequired | - |
└redeliveryOf | string | nullRequired | - |
└createdAt | stringRequired | - |
└updatedAt | stringRequired | - |
└deliveredAt | string | nullRequired | - |
Cost #
Free