Developers
Rotate an endpoint’s signing secret
POST
Replaces the signing secret of one Webhook Endpoint. The plaintext secret (whsec_…) appears only in this response and can never be read again; store it now to verify deliveries.
header
AuthorizationBearer <token>An API Key the User creates in account settings, sent as Authorization: Bearer <key>. It holds the Scopes chosen at creation.
endpointId*stringLength
1 <= lengthSuccess.
application/json- response
endpoint*secret*stringcurl -X POST 'https://ximagesplitter.com/api/v1/webhooks/endpoints/string/rotate-secret'Example response
{
"endpoint": {
"id": "string",
"url": "string",
"eventTypes": [
"generation.queued"
],
"status": "unverified",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
},
"secret": "string"
}