Skip to main content
PATCH
Update a contact

Authorizations

api_key
string
header
required

Headers

Company-Name
string
required

The schema name for multi-tenancy (company-wise DB separation)

Path Parameters

id
integer
required

Unique ID of the contact (e.g., 4465)

Body

application/json
first_name
string
required

First name of the contact

Example:

"test123Edit"

last_name
string
required

Last name of the contact

Example:

"testEdit"

contact_number
string
required

Phone number of the contact (without country code)

Example:

"8570904784"

country_code
string
required

Country code for the contact number (in international format)

Example:

"+91"

email
string
required

Email address of the contact

Example:

"info@agencys.ai"

tags
string[]
required

List of tag names associated with the contact

Example:
company_name
string

Name of the company the contact is associated with

Example:

"test"

industry
string

Industry type for the contact

Example:

"SaaS"

Response

Successfully updated contact details

success
boolean
required

Indicates whether the contact edit operation was successful

Example:

true

message
string
required

A message describing the outcome of the request

Example:

"Success"

data
object
required

The updated contact object