Was this helpful?
Refer a call session by it's session ID.
/sessions/{id}/refer
The unique ID of session.
The refer target, usually a number.
The extension number to refer the session.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/sessions/{id}/refer' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{"refer_to":"text"}'
No body