Skip to main content
PATCH
Update 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.

Path Parameters

string
required
The unique ID of the resource in the path. Use the ID returned by the related create or list endpoint.

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
Updated contact object.

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Contact ID

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