{"_id":"5654a46e0af52835008e77a2","parentDoc":null,"__v":1,"editedParams":true,"editedParams2":true,"githubsync":"","version":{"_id":"55aa7d983be8f60d00041d45","__v":20,"project":"55aa7d973be8f60d00041d42","createdAt":"2015-07-18T16:23:52.273Z","releaseDate":"2015-07-18T16:23:52.273Z","categories":["55aa7d983be8f60d00041d46","55aacf4e3be8f60d00041d89","55aacfaae2bdcb0d00c7466e","55aacfb3e2bdcb0d00c7466f","55aacfca3be8f60d00041d8a","55b67da3f8105a2f00c351ab","55b7cae4aea7c8190058ba5b","55b9218afeef5135009b7db3","55c182616d7d2921006da013","5631407afa40240d007c8c60","56548b9c9c4c6d0d00aeda0c","572b9137ff3ba10e00b4abb4","572b9150ff3ba10e00b4abb5","581b83288ca41f0f007e4fb6","585065fa70cbe00f00835bb8","58641eba0355f31900380492","58861760b4816e19005c9941","58a316cb254c401b00a049ce","58ac80dbd5e1570f00d1c328","59f72b4991121a00104f036e"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"user":"55aa7d625d3abb0d0012f3da","category":{"_id":"56548b9c9c4c6d0d00aeda0c","version":"55aa7d983be8f60d00041d45","pages":["565493dc11032117008a1e20","5655d211648fc80d00bd0afa","565c68bcea82b00d00f949c0","566a38991766bf0d00e737c8"],"project":"55aa7d973be8f60d00041d42","__v":4,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-11-24T16:09:00.420Z","from_sync":false,"order":9,"slug":"conversations-in-development","title":"Conversations (In Development)"},"project":"55aa7d973be8f60d00041d42","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-24T17:54:54.470Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"curl","code":"curl 'https://api.cliengo.com/1.0/conversations/{conversationId}/messages?api_key=TEST_API_KEY'","name":""}]},"method":"get","results":{"codes":[{"name":"","status":200,"language":"json","code":"{\n  paging: {\n    limit: 50,\n    total: 2,\n    offset: 0\n  },\n\tresults: [\n    {\n      id:\"117bdasjasd9mj29jd100\",\n      type: \"text/plain\",\n      body: \"hola mundo!\",\n      sender: {\n        id: \"1234\",\n        type : \"robot\",\n        name: null\n      },\n      sentAt: \"2014-09-09T04:44:47+00:00\",\n      isUnread: true, //depende del user que esté consultando la API\n    },\n    {\n      id: \"117bdasjasd9mj29jd101\",\n      type: \"text/plain\",\n      body: \"hola mundo!\",\n      sender: {\n        id: \"1234\",\n        type : \"robot\",\n        name: null\n      },\n      sentAt: \"2014-09-09T04:44:47+00:00\",\n      isUnread: true, //depende del user que esté consultando la API\n    }\n\t]\n}"}]},"settings":"","auth":"required","params":[{"_id":"55b79032568be2230092ba92","ref":"","in":"path","required":true,"desc":"Id conversation","default":"","type":"string","name":"conversationId"}],"url":"/conversations/:conversationId/messages"},"isReference":false,"order":3,"body":"","excerpt":"Get conversation messages","slug":"conversations-id-messages-get","type":"endpoint","title":"/conversations/:conversationId/messages"}

get/conversations/:conversationId/messages

Get conversation messages

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

conversationId:
required
string
Id conversation

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}