Contents

Get topics

Method

GET

URL

https://typetalk.com/api/v2/topics

Scope

my

Query parameters

NameTypeDescription
spaceKeyStringSpace key

Response Example

{
    "topics": [
        {
            "topic": {
                "id": 26095,
                "name": "Coffeeshop",
                "suggestion": "Coffeeshop",
                "isDirectMessage": false,
                "isArchived": false,
                "lastPostedAt": "2019-09-02T06:07:35Z",
                "createdAt": "2019-09-02T06:05:56Z",
                "updatedAt": "2019-09-02T06:05:56Z"
            },
            "favorite": true,
            "unread": {
                "topicId": 26095,
                "postId": 176297,
                "count": 0,
                "isOverCountLimit": false
            }
        },
        {
            "topic": {
                "id": 6195,
                "name": "Designers",
                "suggestion": "Designers",
                "isDirectMessage": false,
                "isArchived": false,
                "lastPostedAt": "2019-07-01T09:09:06Z",
                "createdAt": "2018-09-10T02:21:20Z",
                "updatedAt": "2018-09-10T02:21:20Z"
            },
            "favorite": true,
            "unread": {
                "topicId": 6195,
                "postId": 167206,
                "count": 0,
                "isOverCountLimit": false
            }
        }
    ]
}

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