cURL
curl --request POST \ --url http://localhost:3004/v1/events/{projectId}/publish \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "eventType": "<string>", "payload": {}, "targets": [ { "targetId": "<string>" } ], "previous": {}, "meta": { "priority": "normal", "maxRetries": 3 } } '
{ "success": true, "message": "<string>", "data": {} }
Publishes a single event to the specified project and its associated targets.
A unique identifier for the request to prevent duplicate processing.
The unique identifier of the project.
Type of event being published.
The data associated with the event.
Show child attributes
Optional previous state of the object.
Event successfully queued