← API overview
Re-enable a subscription
POST
/v1/app/webhooks/{webhook_id}/enablerequires app.manageTurn a disabled subscription back on. Stride repeats the verification handshake first, so this fails unless the endpoint is answering again. The subscription keeps its ID and signing secret, and its failure count starts again from zero.
Events raised while it was disabled are not delivered; call the API for anything that changed in the meantime. Calling this on a subscription that is already active only repeats the handshake.
Path parameters
webhook_idstringrequiredThe webhook subscription ID (`whs_...`), as returned when you created it.
Example
bash
curl -X POST "https://api.stride.is/v1/app/webhooks/{webhook_id}/enable" \
-H "Authorization: Bearer $STRIDE_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Response200
Success.
consecutive_failuresintegeralways presentcreated_atstringalways presentdisabled_reasonstringeventsstring[]always presentfailing_sincestringidstringalways presentlast_delivery_atstringsecretstringstatusstringalways presenturlstringalways present
Errors
Every error is an RFC 9457 problem document. Branch on itscode, which is stable;detail is prose and may be reworded.
400The request was malformed: an unparseable date, an unknown enum value, or a parameter combination that cannot be satisfied.401No access token was supplied, or it is not valid for this API.402The Stride account the token belongs to has no active subscription or trial.403The token does not hold the scope this endpoint requires, or may not act on the athlete or team named.404No such resource, or it is not visible to this token. The two are deliberately indistinguishable.405The path exists but does not serve this method. The Allow header lists the ones it does.429A rate limit was exceeded. Retry after the period in the Retry-After header.500Something failed on Stride's side. The failure is logged with a trace ID.