Request Livechat Transcript
The endpoint is used by visitors to request a transcript of their chat to be sent to their email once the conversation ends.
The room must be closed before you can send a transcript.
HTTP Method | URL | Requires Auth |
---|---|---|
POST | /api/v1/livechat/transcript | no |
Key | Example Value | Description |
---|---|---|
rid * | XFzMqgn33DcsQkpJp | The room ID. |
token * | iNKE8a6k6cjbqWhWd | The visitor token. |
email * | The visitor's email ID where the transcript should be sent. |
curl -X POST \
-H "Content-type:application/json" \
http://localhost:3000/api/v1/livechat/transcript \
-d '{"rid":"XFzMqgn33DcsQkpJp",
"token": "iNKE8a6k6cjbqWhWd",
"email": "[email protected]"}'
{
"message": "Livechat transcript sent",
"success": true
}
Version | Description |
---|---|
0.70.0 | Added |
Last modified 3d ago