{"_id":"5655d211648fc80d00bd0afa","editedParams2":true,"project":"55aa7d973be8f60d00041d42","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"},"__v":1,"parentDoc":null,"user":"55aa7d625d3abb0d0012f3da","editedParams":true,"githubsync":"","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)"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-25T15:21:53.510Z","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/{messageId}?api_key=TEST_API_KEY'","name":""}]},"method":"get","results":{"codes":[{"code":"","language":"text"}]},"settings":"","auth":"required","params":[{"_id":"55b79032568be2230092ba92","ref":"","in":"path","required":true,"desc":"Id conversation","default":"","type":"string","name":"conversationsId"},{"_id":"5655d211648fc80d00bd0afb","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"messageId"}],"url":"/conversations/:conversationId/messages/:messageId"},"isReference":false,"order":4,"body":"Message\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  id: \\\"117bdasjasd9mj29jd233\\\",\\n  type: \\\"text/plain\\\",\\n  body: \\\"hola mundo!\\\",\\n\\tsender: {\\n    id: \\\"1234\\\",\\n    type : \\\"robot\\\",\\n    name: null\\n  },\\n\\tconversationId:\\\"asd8bqwwdyqdqydqyasdas\\\",\\n  sentAt: \\\"2014-09-09T04:44:47+00:00\\\",\\n  isUnread: true, //depende del user que esté consultando la API\\n  recipient_status: { //WIP\\n    \\\"777\\\": \\\"sent\\\",\\n    \\\"111\\\": \\\"delivered\\\",\\n    \\\"999\\\": \\\"read\\\",\\n    \\\"1234\\\": \\\"read\\\"\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\nURL visit\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  type: \\\"message/http\\\",\\n  body: \\\"http://www.cliengo.com/precios\\\",\\n  ...\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\nAudio\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  type: \\\"audio/mpeg\\\",\\n  body: \\\"http://www.cliengo.com/blaasdadadasd.mp3\\\",\\n  ...\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\nEmail\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  type: \\\"email\\\",\\n  body: \\\"hola esto vino en un email!\\\",\\n  ...\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"Get conversation messages","slug":"conversationsidmessagesid","type":"endpoint","title":"/conversations/:conversationId/messages/:messageId"}

get/conversations/:conversationId/messages/:messageId

Get conversation messages

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

conversationsId:
required
string
Id conversation
messageId:
required
string

Examples


Documentation

Message [block:code] { "codes": [ { "code": "{\n id: \"117bdasjasd9mj29jd233\",\n type: \"text/plain\",\n body: \"hola mundo!\",\n\tsender: {\n id: \"1234\",\n type : \"robot\",\n name: null\n },\n\tconversationId:\"asd8bqwwdyqdqydqyasdas\",\n sentAt: \"2014-09-09T04:44:47+00:00\",\n isUnread: true, //depende del user que esté consultando la API\n recipient_status: { //WIP\n \"777\": \"sent\",\n \"111\": \"delivered\",\n \"999\": \"read\",\n \"1234\": \"read\"\n }\n}", "language": "json" } ] } [/block] URL visit [block:code] { "codes": [ { "code": "{\n type: \"message/http\",\n body: \"http://www.cliengo.com/precios\",\n ...\n}", "language": "json" } ] } [/block] Audio [block:code] { "codes": [ { "code": "{\n type: \"audio/mpeg\",\n body: \"http://www.cliengo.com/blaasdadadasd.mp3\",\n ...\n}", "language": "json" } ] } [/block] Email [block:code] { "codes": [ { "code": "{\n type: \"email\",\n body: \"hola esto vino en un email!\",\n ...\n}", "language": "json" } ] } [/block]

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 }}