Publish a batch of messages

Publishes a batch of messages to a topic. The messages must comply with the topic schema.

Path parameters

topic_idintegerRequired
The unique ID of the event topic.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
payloadslist of maps from strings to anyRequired

Array of messages to publish to the topic. Each message must comply with the topic schema. Maximum array size is 100.

Response

Success - The batch of messages was processed successfully.

is_partial_errorboolean or null
Indicates whether some messages in the batch failed to publish.
message_idsmap from strings to objects or null
A mapping of message indices to published results.

Errors