Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
38 lines (27 loc) · 1.33 KB

File metadata and controls

38 lines (27 loc) · 1.33 KB

Take Inquiry

Join an open inquiry.

HTTP MethodURLRequires Auth
POST/api/v1/livechat/inquiries.takeyes

Body Parameters

KeyExample ValueDescription
inquiryId*ByehQjC44FwMeiLbXThe inquiry ID.
userIdyuhehQjCfsd876sfdThe user's (agent) ID who is taking the inquiry. This is an optional parameter.

{% hint style="info" %} If the userId is provided, the user must have the view-l-room permission. {% endhint %}

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type: application/json" \
     http://localhost:3000/api/v1/livechat/inquiries.take \
     -d '{ 
          "inquiryId": "ByehQjC44FwMeiLbX"}'

Example Response

{
    "success": true
}

Change Log

Version Description
1.2.0 Added