Getting started:
In order to make an outbound call by using Charlie, there are few things that you need to get:
assistantid
;apikey
;phonenumberid
;customerphone
;
To get all of this information, you need to have both Voice AI Setter and Imported Phone Number.
Getting assistantid and apikey:
In order to get assistantid
and apikey
, follow next steps:
Go to the Voice AI Setter Page.
To get
apikey
, press the button, which is specified on the picture below:To get
assistantid
press the button, which is specified on the picture below:
Now you have both
assistantid
andapikey
.
Getting phonenumberid:
In order to get phonenumberid
, follow next steps:
Go to the Phone Numbers tab and click on any of the available phone numbers.
To get
phonenumberid
press the buttion, which is specified on the picture below:
Using init-call API with GHL:
In order to trigger call API, you can use GHL for example.
When setting up an action, make sure, that you chose webhook.
When setting up the webhook, select the POST method as on the picture below:
In url pass the https://api.charlieai.io/api/webhooks/voice/init-call link and in Payload Type choose
application/json
.In block Data, you need to pass the next fields:
assistantid
,phonenumberid
,customerphone
andapikey
. How to get all the needed data was described before, except thecustomerphone
.customerphone
is simply the phone number of the customer you want Charlie to call. On the picture below you can see an example of configuration.
IMPORTANT: use{{contact.phone_raw}}
in customerphone
field
Example:
{ assistantid: "",
customerphone: "",
phonenumberid: "",
apikey: "" }