Skip to main content
POST
/
apps
/
{appId}
/
webhooks
/
{webhookId}
/
rotate-secret
Rotate webhook signing secret
curl --request POST \
  --url https://api.agg.market/apps/{appId}/webhooks/{webhookId}/rotate-secret \
  --header 'Content-Type: application/json' \
  --header 'x-app-api-key: <api-key>' \
  --data '{}'
{
  "secret": "<string>"
}

Authorizations

x-app-api-key
string
header
required

App-scoped API key for programmatic app management.

Path Parameters

appId
string
required
webhookId
string
required

Body

application/json

The body is of type object.

Response

200

secret
string
required