Skip to content

Get Single Chat

aris alexis edited this page Feb 25, 2016 · 2 revisions
  • URL

    /chats/:chat_id

  • Method:

    GET

  • Success Response:

    • Code: 200
      Content:
    {
      chat_id,  
      last_message: { sender, tstamp, body },  
      last_update: [timestamp in miliseconds],    
      title,  
      unread: [int]  
    }  
  • Error Response:

    • Code: 401 UNAUTHORIZED
    • Code: 404 NOT FOUND
Clone this wiki locally