Topics
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.
post/v2/topics
Query parameters
failIfExistsboolean
If true, the request will fail if a topic with the same key already exists
Request body
Example request
{
"key": "task:12345",
"name": "Task Title"
}Response
OK
Example response
{
"_id": "64da692e9a94fb2e6449ad06",
"key": "product-updates",
"name": "Product Updates",
"createdAt": "2023-08-15T00:00:00.000Z",
"updatedAt": "2023-08-15T00:00:00.000Z"
}