Make AI Call (GHL-Safe)

Make AI Call (GHL-Safe)

Method: POST

Endpoint: https://api.assistable.ai/v2/ghl/make-call

This endpoint triggers an outbound AI phone call to a specific contact inside GoHighLevel.

Why "GHL-Safe"? This version is specifically designed to work within GoHighLevel workflows without timing out or causing errors, even if the call takes a long time to connect.

1. Authorizations

You must verify your identity to place a call.

  • Header Name: Authorization

  • Value: Bearer <your_token_here>


2. Body Parameters

To place a call, the system needs to know three main things: Who is calling (Assistant), Where from (Location), and Who to call (Contact).

Field

Type

Required?

Description

assistant_id

string

Yes

The ID of the AI Assistant that will speak.

location_id

string

Yes

The GoHighLevel Location ID where the contact lives.

contact_id

string

Yes

The specific GoHighLevel Contact ID you want to call.

number_pool_id

string

No

If you use a group of numbers (Pool), specify the Pool ID here.


3. Example Request (Code)

Copy the code below to test a call.

Bash

curl --request POST \
--url https://api.assistable.ai/v2/ghl/make-call \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"assistant_id": "asst_12345",
"location_id": "loc_98765",
"contact_id": "cont_abc123"
}'

4. Success Response

If the call is successfully queued, you will receive a 200 status code and a call_id.

JSON

{
"success": true,
"call_id": "call_555777",
"returned_an_error": false,
"error_message": "",
"error_code": 200
}

5. Troubleshooting

  • Status 200 vs 400: Even if the call fails (e.g., number busy), the API might return a 200 status with success: false in the body. Always check the success field in the JSON response.

  • Invalid Contact ID: Ensure the contact_id matches the one in GoHighLevel exactly.

  • No Phone Number: The contact you are trying to call must have a valid phone number in GHL.


Was this article helpful?