Create a webhook endpoint
Creates an HTTPS endpoint that receives the subscribed event types. The signing secret is shown only in this response, and an application can have at most 25 endpoints.
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
appId | 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' \
--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 | - |
└endpoint | objectRequired | - |
└id | stringRequired | - |
└applicationId | stringRequired | - |
└name | stringRequired | - |
└description | string | nullRequired | - |
└url | stringRequired | - |
└subscribedEvents | string[]Required | - |
└status | stringRequired | - |
└revision | integerRequired | - |
└createdAt | stringRequired | - |
└updatedAt | stringRequired | - |
└secret | stringRequired | - |
Cost #
Free