Skip to main content
POST
/
webhooks
/
{webhookId}
/
regenerate-secret
Regenerate webhook secret
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."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

webhookId
string
required

Response

200 - application/json
data
object
required
message
enum<string>
required
Available options:
Webhook secret regenerated successfully. Please update your integration.