Ventia
Interactions
POST
/contact/{idcontact}/transfer
api-key<token>

In: query

Path Parameters

idcontact*string

Request Body

application/json

to*string

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"  }'
{
  "transfer": {
    "content": {
      "fromUser": "63c85c877b9c7691b9b4e066",
      "toUser": "6234da84259c59d9a555c498"
    },
    "_id": "646d130e060377fdcd48dfe1",
    "company": "609b3cff61ffd5f1e446d234",
    "agent": "63c85c877b9c7691b9b4e066",
    "contact": "621e8a5463c02a8bd532ff8c",
    "status": "started",
    "via": "api",
    "createdCoords": {
      "active": false
    },
    "type": "transfer",
    "createdAt": "2023-05-23T19:25:02.561Z",
    "updatedAt": "2023-05-23T19:25:02.561Z",
    "__v": 0
  }
}