1-877-548-3001 Sign in About Contact
Developer

POST

/api/chat/{id}/reassign

Reassign the specified chat to an operator or department

Scope:

operator

Request Parameters

Path

2

id

required

The id of the chat to be reassigned

Query

2

department_id

required

The department id the chat will be assigned to

2

operator_id

optional

The operator id the chat will be assigned to

Response

Schema

{}

A

message

The response message

A

status

The system response status. Will be ok or error

curl

example request

1

curl -X POST -d '{"department_id":1234}'

2

-H "Content-Type: application/json"

3

-H "Authorization: Bearer {{Oauth Token}}"

4

https://developer.livehelpnow.net/api/chat/{{102317790}}/reassign

example response

      
        

1

 {

2

   "message"

: "Chat transferred successfully",

3

   "status"

: "ok"

4

 }