Skip to main content
Daysync models contacts two ways, and the distinction matters:

Key contacts

People, stored once in an organization-wide contact book and linked to venues and stays. A promoter used on twelve shows is one record with twelve links.

General contacts

The venue’s or stay’s own emails, phone numbers, and URLs. Owned by that record and not shared.
So to attach a person to a venue you create them in the book first, then link them by ID. All endpoints require the standard authentication headers.

The organization key-contact book

List the book

Scope: organization.read Response data — array of contacts:

Add someone to the book

Scope: accommodation.write Body Response data: { "id": 88590, "first_name": "…", "last_name": "…", "email": "…" }

Update someone

Scope: accommodation.write Same fields, all optional — send only what changes. org_id cannot be changed.
On update, number and country are strings; on create they are numbers. This is a long-standing quirk of the underlying API.

Linking key contacts

Scope: venues.read / venues.write, accommodation.read / accommodation.write GET returns the linked people, in the same shape as the book. PUT links or unlinks. Body: Each entry:
Only the links you list change — this is not a full replace. The contact must already exist in the book; create it with POST /v1/key-contacts first.
Example
Response data: none. Venue and stay create/update bodies also accept a keyContactIds array inline, which sets the links in the same call.

General contacts

Scope: venues.read / venues.write, accommodation.read / accommodation.write Response data — an array where each row carries exactly one of the three, the others null:
is_google marks a detail imported from Google Places rather than entered by a user.

Writing them

Body — at least one of the three lists must be present: operation is ADD, UPDATE, or REMOVE; id is required for the latter two.
In numbers, both number and country are numbers, not strings — { "number": 298765432, "country": 61 }.
Example
Response data: none. As with key contacts, venue and stay create/update bodies accept emails, numbers, and urls inline (without operation, as a full replace).
See also: Venues, Accommodation, Rooms.