Publish
Publish Event
Publishes an event to the specified topic, potentially routed to a specific destination. Requires Admin API Key.
post/publish
Request body
Example request
{
"id": "evt_custom_123",
"tenant_id": "<TENANT_ID>",
"destination_id": "<DESTINATION_ID>",
"topic": "topic.name",
"time": "2024-01-15T10:30:00Z",
"metadata": {
"source": "crm"
},
"data": {
"user_id": "userid",
"status": "active"
}
}Response
Event accepted for publishing. Returns the event ID.
Example response
{
"id": "evt_abc123xyz789",
"destination_ids": [
"des_456",
"des_789"
]
}