Add topic to group

Method

POST

URL

https://typetalk.com/api/v1/spaces/:spaceKey/myTopics/myTopicGroups/:myTopicGroupId/topics/:topicId/add

Scope

my

URL parameters

Name Type Description
spaceKey String Space key
myTopicGroupId Number Topic Group ID
topicId Number Topic ID

Response Example

{
    "myTopic": {
        "id": 8759,
        "topicId": 3538,
        "accountId": 2500,
        "kind": "grouped",
        "topicGroupId": 1639,
        "orderNo": 0,
        "createdAt": "2018-09-21T02:23:11Z",
        "updatedAt": "2018-09-21T02:23:11Z"
    }
}

All responses are formatted in JSON and include an ETag. If you call an API with an If-None-Match header, the server will return a 304 status code if the data is unchanged. The date and time format is ISO 8601, and the timezone is UTC (eg. 2014-01-09T06:20:08Z).