curl -X POST "https://config.gms.ensync.cloud/v1/event" \ -H "X-API-KEY: your-api-key" \ -H "Content-Type: application/json" \ -d '{ "name": "order/created", "payload": { "orderId": "string", "amount": "number", "customerId": "string", "items": "array" } }'
{ "message": "Event definition created successfully" }
Creates a new event definition
Documentation IndexFetch the complete documentation index at: https://docs.ensync.cloud/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.ensync.cloud/llms.txt
Use this file to discover all available pages before exploring further.
order/created
payment/completed