Skip to main content
POST
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
The contact first name.
string
The contact last name.
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.
string
The contact company or organization name.
object
Custom key-value data to attach to the resource. Use this for IDs or attributes from your own systems.

Response

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

Authorizations

X-Api-Key
string
header
required

Body

application/json
first_name
string

First name

last_name
string

Last name

email
string

Email address

phone
string

Phone number

company
string

Company name

metadata
object

Custom metadata

Response

200 - application/json

Successful response

success
boolean
message
string
data
object