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

API Endpoint

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

Path Parameters

projectId
string
required

Body

application/json
callbackURL
string
required
eventType
enum<string>
required
Available options:
TransactionStatusChange,
WalletBalanceLow

Response

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