Contents

Create topic group

Create a group to organize related topics.

Method

POST

URL

https://typetalk.com/api/v2/spaces/:spaceKey/myTopicGroups

Scope

my

URL parameters

NameTypeDescription
spaceKeyStringSpace key

Form parameters

NameTypeDescription
nameStringTopic Group Name
topicIds[] (Optional)NumberTopic ID

Response Example

{
    "myTopicGroup": {
        "id": 1724,
        "name": "Design Project",
        "sortType": "recent",
        "isMuted": false
    },
    "myTopics": {
        "myTopic": {
            "id": 8762,
            "topicId": 4483,
            "accountId": 2500,
            "kind": "grouped",
            "topicGroupId": 1724,
            "exTopicGroupId": 1720,
            "orderNo": 0,
            "createdAt": "2018-09-25T09:42:49Z",
            "updatedAt": "2018-10-29T02:44:14Z"
        }
    }
}

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).