Developers

Webhook subscriptions

Markdown

Rotate the signing secret

Issues a new secret. For 24 hours, webhooks carry two signatures: one with the new secret and one with the previous secret.

POST/stores/{storeId}/v1/webhook-subscriptions/{id}/rotate-secret
No scope required

Path parameters

idstring (uuid)required

Response

dataobjectrequired
idstring (uuid)
endpoint_urlstring (uri)
event_typesarray<string>
payload_versionobject
stateobject
active paused revoked
secret_generationinteger
issued_scopesarray<string>
executionobject
Who executed the request: the app, version, installation and store. Field names here are camelCase.
appIdstring (uuid)
versionIdstring (uuid)
installationIdstring (uuid)
storeIdstring (uuid)
requestIdstring (uuid)
generationinteger
routeEpochinteger
appAuthEpochinteger
grantRevisioninteger
metaobjectrequired
request_idstring (uuid)
The request ID; include it in any support request.
secretstring
The new secret. Returned once.

    ↑↓ moveEnter openEsc close