Skip to main content
Retrieve a single contact

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the contact to retrieve, as returned when it was created or found.

Minimum string length: 1
Example:

"dff8fe9414afa6668d5107265e87d5d63019ab315b55e27061d53505b"

Response

Returns the contact.

mail
string
required

E-mail address of the contact. It identifies the contact within an address book, so it is always required and no two contacts of one owner may share it.

Example:

"james.baines@example.com"

__addedBy
string | null

User who created the contact. They keep editing rights over it even when ownership sits elsewhere.

Example:

"john.doe@example.com"

__addedOn
string<date-time> | null

Time the contact was created.

__editable
boolean

Whether the calling user may change or delete this contact. Use it to decide what to offer instead of guessing from the ownership and sharing fields.

Example:

true

__groups
string[] | null

Groups the contact is shared with; every member of them reaches it.

Example:
__id
string | null

Identifier of the contact, derived from its owner together with its e-mail address. Changing the address therefore gives the contact a new identifier.

Example:

"dff8fe9414afa6668d5107265e87d5d63019ab315b55e27061d53505b"

__owner
string | null

User the contact belongs to. When empty, the contact is not owned by anyone and everybody who can see it may edit it.

Example:

"john.doe@example.com"

__shared
boolean

Whether the contact reached the calling user through a share rather than being their own.

Example:

false

__shareEdit
boolean | null

Whether the users and groups the contact is shared with may change it, rather than only read it. It is one setting for all of them.

__users
string[] | null

Users the contact is shared with individually.

Example:
company
string | null

Company the contact belongs to.

Example:

"Acme Corporation"

fullname
string | null

Name the contact is shown under.

Example:

"James Baines"

language
string | null

Language code the contact is addressed in, used for anything sent to them.

Example:

"en"

location
string | null

Free-form place the contact is based in.

Example:

"Prague"

phone
string | null

Phone number of the contact, in international format.

Example:

"+38591234567"

photo
object | null

Photo of the contact, held in several sizes. On write, each size takes either the hash of an uploaded file or the image inline as base64, which is then stored as a file.

timezone
string | null

IANA time zone the contact lives in.

Example:

"Europe/Zagreb"