POST
/
sources
/
{source_id}
/
topics
/
{topic_name}
/
events
curl --request POST \
  --url https://app.getcensus.com/api/v1/sources/{source_id}/topics/{topic_name}/events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": {}
}'
This response has no body data.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

source_id
integer
required

ID of the source to push the event to

topic_name
string
required

The name of the topic to push the event to

Body

application/json
data
object

The JSON object to push to the topic