event-source

Track Events Publish

POST
Allows publishing of events (example from plug widget).

Request

This endpoint expects an object.
events_list
list of objectsRequired

Response

This endpoint returns a map from strings to any
POST
1curl -X POST https://api.devrev.ai/track-events.publish \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "events_list": [
6 {
7 "name": "name",
8 "payload": {}
9 }
10 ]
11}'
200Successful
1{
2 "string": {
3 "key": "value"
4 }
5}