Contents

Add messages to tag

Add messages to a tag.

Method

POST

URL

https://typetalk.com/api/v1/topics/:topicId/talks/:talkId/posts

Scope

topic.post

URL parameters

NameTypeDescription
topicIdNumberTopic ID
talkIdNumberTag ID

Form parameters

NameTypeDescription
postIds[0], postIds[1] …NumberPost IDs that you want to add to the tag

Response Example

{
  "topic": {
    "id": 208,
    "name": "IT Peeps",
    "description": "",
    "suggestion": "IT Peeps",
    "isDirectMessage": false,
    "lastPostedAt": "2016-12-21T10:12:02Z",
    "createdAt": "2014-06-10T02:32:29Z",
    "updatedAt": "2014-06-10T02:32:29Z"
  },
  "talk": {
    "id": 900,
    "topicId": 208,
    "name": "About us",
    "suggestion": "About us",
    "createdAt": "2014-07-02T03:42:29Z",
    "updatedAt": "2016-12-21T10:12:24Z",
    "backlog": null
  },
  "postIds": [
    300,
    301
  ]
}

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