Virtual phonecalls

To make virtual phone calls from your application you must perform a HTTP POST to the following endpoint:

http://127.0.0.1:43770/api/internal/messages

Virtual phone calls are a paying service and before making phone calls you must check if have enough credits via user.bluecherry.io/credits. If you don't have enough credits you can by a phone call credit package through the web shop on user.bluecherry.io/webshop.

Virtual phone calls use AI to detect the language of the message. The BlueCherry platform will than select the correct computer voice to say the message as soon as the callee picks up the phone. Make a virtual phone call requires you to perform a POST request like in the following example:

POST /api/internal/messages HTTP/1.1
Host: 127.0.0.1:43770
Content-Type: application/json
Content-Length: 174

[
    {
        "type": 3,
        "destination": "+32123456789",
        "message": "Hi, this is a virtual phone call which originates from the BlueCherry platform."
    }
]

Every communication request body is a JSON array, this array contains one or more JSON message objects. The message body for a virtual phone call contains the following required fields:

  • type: '3' denotes that you want to make a virtual phone call.
  • destination: this field contains the phone number of the recipient of the virtual phone call.
  • message: this field contains the text you want the virtual voice to say to the recipient.