POST
/
sources
/
{source_id}
/
topics

Authorizations

Authorization
string
headerrequired

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

source_id
integer
required

ID of the source

Body

application/json
name
string
required

The name of this topic.

sample_message
object
required

An example of the structure of a message that would be pushed to this topic.

description
string

The description for this topic.

Response

201 - application/json
status
enum<string>

Outcome of the operation.

Available options:
created,
error
data
object