POST
Upsert a contact

Authorizations

Authorization
string
header
required

A key from Settings → API keys. It starts with gd_key_.

Body

application/json
dbId
string
required

Your own id for the contact. Stored as db_ followed by it.

Required string length: 1 - 200
Example:

"user_42"

name
string
required
Required string length: 1 - 200
Example:

"Ada Lovelace"

kind
enum<string>
Available options:
person,
organization
emails
string<email>[]
Maximum array length: 20
Example:
phones
string[]

E.164, with the country code.

Maximum array length: 20
Minimum string length: 1
Example:

Response

The contact

message
string
required
Example:

"Contact upserted"

metaData
object
required
data
object
required