Create a topic
Creates a new topic if it does not exist, or updates an existing topic if it already exists. Use ?failIfExists=true to prevent updates.
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Request Body
application/jsonRequiredkeyRequiredstringThe 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:
1Maximum length: 100namestringThe display name for the topic
Minimum length:
0Maximum length: 100Query Parameters
failIfExistsbooleanIf true, the request will fail if a topic with the same key already exists
Header Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
_idRequiredstringThe identifier of the topic
keyRequiredstringThe unique key of the topic
namestringThe name of the topic
createdAtstringThe date the topic was created
updatedAtstringThe date the topic was last updated