Add message to talk

Method

POST

URL

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

Scope

topic.post

URL parameters

Name Type Description
topicId Number Topic ID
talkId Number Talk ID

Form parameters

Name Type Description
postIds[0], postIds[1] …. Number Post IDs that you want to add to the talk

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 text formatted as JSON, and include ETag. If you call an API with If-None-Match header, the server returns a 304 status code when the data is not changed. The date and time format is ISO 8601 and timezone is UTC (eg. 2014-01-09T06:20:08Z).