Skip to main content
PATCH
Update a contact

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Path Parameters

id
integer
required

Body

application/json
first_name
string
last_name
string
name
string
email
string<email>
phone
string
company
string
role
string
status
enum<string>
Available options:
active,
prospect,
in_progress,
lost
timezone
string
language
string
source
string
address1
string

Street line.

Maximum string length: 255
Example:

"12 Ermou St"

city
string
Maximum string length: 100
Example:

"Athens"

state
string

State, region or province.

Maximum string length: 100
Example:

"Attica"

postal_code
string

Text, not a number - leading zeros and letters are kept ("02134", "SW1A 1AA").

Maximum string length: 20
Example:

"10563"

country
string

ISO 3166-1 alpha-2 code ("GR") or an English country name ("Greece"); stored and returned as the code. An unknown country is a 422.

Example:

"GR"

date_of_birth
string<date>

YYYY-MM-DD (DD/MM/YYYY also accepted). A real past date after 1900; anything else is a 422.

Example:

"1985-03-14"

website
string

A bare domain gets https:// added.

Maximum string length: 500
Example:

"https://example.com"

tags
string[]
attributes
object

Response

Updated contact

success
enum<boolean>
Available options:
true
data
object
meta
object