Create or update a topic
Creates a new topic if it does not exist, or updates an existing topic if it already exists
Authorization
Authorization
<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Request Body
application/json
Requiredkey
RequiredstringThe unique key identifier for the topic. The key must contain only alphanumeric characters (a-z, A-Z, 0-9), hyphens (-), underscores (_), colons (:), or be a valid email address.
Minimum length:
1
Maximum length: 100
name
stringThe display name for the topic
Minimum length:
0
Maximum length: 100
Header Parameters
idempotency-key
stringA header for idempotency purposes
Response Body
OK
_id
RequiredstringThe identifier of the topic
key
RequiredstringThe unique key of the topic
name
stringThe name of the topic
createdAt
stringThe date the topic was created
updatedAt
stringThe date the topic was last updated