POST
/
webhook
/
project
/
{projectId}
/
eventCallback
/
{callbackEventId}
/
rotateSecret
curl --request POST \
  --url https://api.syndicate.io/webhook/project/{projectId}/eventCallback/{callbackEventId}/rotateSecret
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "callbackURL": "<string>",
  "eventType": "TransactionStatusChange",
  "secret": "<string>",
  "stats": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "eventCallbackId": "<string>",
      "responseStatus": 123,
      "data": "<any>"
    }
  ]
}

API Endpoint

https://api.syndicate.io/webhook/project/{projectId}/eventCallback/{callbackEventId}/rotateSecret

Path Parameters

projectId
string
required
callbackEventId
string
required

Response

200 - application/json
id
string
required
projectId
string
required
callbackURL
string
required
eventType
enum<string>
required
Available options:
TransactionStatusChange,
WalletBalanceLow
secret
string
required
stats
object[] | null