Skip to main content
POST
Get or Create Contact

Authorizations

string
required
Your Agni API key used to authenticate the request. Pass it in the X-Api-Key header. Find or rotate it from your Ravan AI account settings.

Body

string
required
The organization ID that owns the resource. Use the organization ID from your Agni account.
string
The connected provider location ID, usually from GoHighLevel.
string
The contact’s full name in GoHighLevel.
string
The contact email address. Use a valid email format such as alex@example.com.
string
The contact phone number in E.164 format. Example: +14157774444.

Response

boolean
Whether the request succeeded.
string
Human-readable status message.
object
Returned data.

Authorizations

X-Api-Key
string
header
required

Body

application/json
org_id
string
required

Organization ID

location_id
string

GHL location ID

name
string

Contact name

email
string

Contact email

phone
string

Contact phone

Response

200 - application/json

Successful response

success
boolean
message
string
data
object