Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1005 Bytes

transcript.md

File metadata and controls

50 lines (37 loc) · 1005 Bytes

Transcript

Request a Livechat transcript

URL Requires Auth HTTP Method
/api/v1/livechat/transcript no POST

Payload

Argument Example Required Description
rid XFzMqgn33DcsQkpJp Required The room _id.
token iNKE8a6k6cjbqWhWd Required The visitor token.
email [email protected] Required The visitor email.

Example payload

{
  "rid":"XFzMqgn33DcsQkpJp",
  "token": "iNKE8a6k6cjbqWhWd",
  "email": "[email protected]"
}

Example Call

curl -X POST \
     -H "Content-type:application/json" \
     http://localhost:3000/api/v1/livechat/transcript \
     -d '{"rid":"XFzMqgn33DcsQkpJp", "token": "iNKE8a6k6cjbqWhWd", "email": "[email protected]"}'

Example Result

{
  "message": "Livechat transcript sent",
  "success": true
}

Change Log

Version Description
0.70.0 Added