Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request POST \
--url https://api.lettermint.co/v1/webhooks/{webhookId}/regenerate-secret \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"route_id": "<string>",
"name": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"enabled": true,
"secret": "<string>",
"last_called_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"message": "Webhook secret regenerated successfully. Please update your integration."
}Generates a new secret for webhook signature verification. The old secret will be invalidated.
curl --request POST \
--url https://api.lettermint.co/v1/webhooks/{webhookId}/regenerate-secret \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "<string>",
"route_id": "<string>",
"name": "<string>",
"url": "<string>",
"events": [
"<string>"
],
"enabled": true,
"secret": "<string>",
"last_called_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"message": "Webhook secret regenerated successfully. Please update your integration."
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.