Ventia
Interactions
POST
/contact/{idcontact}/transfer

Authorization

bearerAuth
AuthorizationBearer <token>

API key sent as Authorization: Bearer <API_KEY>.

In: header

Path Parameters

idcontact*string

ID of the contact to transfer.

Request Body

application/json

The agent receiving the contact and an optional note explaining the transfer.

to*string

User ID of the agent receiving the transfer. Must belong to your company or one of its groups. The user's email, phone or company ID are also accepted.

description?string

Optional note explaining the reason for the transfer. Saved on the transfer interaction in the contact's history. Max 2056 characters.

Lengthlength <= 2056

Response Body

application/json; charset=utf-8

curl -X POST "https://api.getventia.com/api/v1.0/contact/string/transfer" \  -H "Content-Type: application/json" \  -d '{    "to": "6234da84259c59d9a555c498"  }'
{
  "message": "The contact was successfully transfered...",
  "success": true
}