Webhooks
Reveal a webhook secret
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the webhooks:write ability
Path parameters
endpointstringrequiredId of the webhook endpoint, starting with whk_, such as whk_01jx2m8k4t. Find it with GET /webhook-endpoints.
Response 200
OKdataobjectrequiredShow child attributesHide child attributes
endpoint_idstringrequiredId of the webhook endpoint the secret belongs to, such as whk_....
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
previous_expires_atstring | nullrequiredWhen the previous secret stops signing deliveries. Null when no rotation is under way.
Format: date-time
previous_secretstring | nullrequiredThe secret used before the last rotation, still valid while the rotation overlaps. Null when there is none.
secretstringrequiredThe endpoint's current signing secret, used to check that a delivery came from dimmi. Keep it private.
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.