{"_id":"565c68bcea82b00d00f949c0","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"},"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","editedParams":true,"parentDoc":null,"__v":6,"githubsync":"","editedParams2":true,"user":"55aa7d625d3abb0d0012f3da","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-30T15:18:20.678Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"method":"post","results":{"codes":[{"status":200,"language":"json","code":"{\n\t\t\"paging\": {\n\t\t\"total\": 2\n\t\t}\n  \t\"results\": [2]\n        0:  {\n            \"conversationId\": \"566ac57203640db344531742\"\n            \"id\": \"566ac57203640db344531743\"\n            \"type\": \"models.chat.MessageText\"\n            \"body\": \"esto es un mensaje de bienvenida!\"\n            \"sender\": {\n                \"id\": \"4323643262346234:::at:::leadaki.com\"\n                \"type\": \"models.User\"\n           \t}\n          }\n        1:  {\n            \"conversationId\": \"566ac57203640db344531742\"\n            \"id\": \"566ac58503640db344531744\"\n            \"type\": \"models.chat.MessageText\"\n            \"body\": \"hola este es el mensaje\"\n            \"sender\": {\n            \t\t\"id\": \"566ac56703640db34453171d\"\n            \t\t\"type\": \"models.User\"\n        \t\t}\n    \t\t}\n}","name":""}]},"settings":"","examples":{"codes":[{"name":"","language":"curl","code":"curl \"https://api.cliengo.com/1.0/conversations/{websiteId}/message?api_key={your_api_key}\""}]},"auth":"required","params":[{"_id":"565ef69f1b5fe20d0030b457","ref":"","in":"body","required":false,"desc":"Visitor description","default":"","type":"string","name":"from"},{"_id":"566acdb0c7c3cd1700265d10","ref":"","in":"body","required":false,"desc":"Message text","default":"","type":"string","name":"message"},{"_id":"5850646616482d0f00f3b117","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"websiteId"}],"url":"/conversationId/:websiteId/create"},"isReference":false,"order":1,"body":"","excerpt":"","slug":"conversationidmessage","type":"endpoint","title":"/conversations/:websiteId/create"}

post/conversations/:websiteId/create


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

websiteId:
required
string

Body Params

from:
string
Visitor description
message:
string
Message text

Examples


Result Format


User Information

Try It Out

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