Contacts API

Base path: https://developerapi.motaware.com/contacts/v1

Scopes: contacts.read for the GET routes, contacts.write for everything else (it also allows reads). The person's Motaware plan must include Contacts, otherwise the answer is 403 entitlement.app_unavailable. On a lapsed plan reads keep working and changes get 403.

Endpoints

MethodPathPurpose
GET/contactsContacts, paged and searchable
POST/contactsCreate a contact
GET/contacts/autocomplete?q=Quick matches: [{id, displayName, email}]
GET/contacts/export?format=vcard|csvAll contacts (or one group with groupId) as a file
GET/contacts/{id}One contact with all details
PUT/contacts/{id}Change a contact (partial)
DELETE/contacts/{id}Delete a contact
POST/contacts/{id}/starStar or unstar (toggles)
GET/groupsContact groups
POST/groupsCreate a group: { "name", "color"? }
GET/groups/{id}One group
PUT/groups/{id}Change a group
DELETE/groups/{id}Delete a group (its contacts stay)
GET/groups/{id}/membersThe group's contacts
POST/groups/{id}/members/{contactId}Add a contact to the group
DELETE/groups/{id}/members/{contactId}Remove a contact from the group

Listing and search

GET /contacts takes pageNumber (default 1), pageSize (default 20, at most 200), q, starred, groupId and sort (FirstName, LastName, DisplayName, Company, CreatedAt). It returns { items, pageNumber, totalPages, totalCount, hasPreviousPage, hasNextPage }. q matches names, company, job title, notes, emails and phones; phone matching ignores formatting.

Contact

List items: id, firstName, lastName, displayName, company, jobTitle, primaryEmail, primaryPhone, isStarred, avatarUrl, createdAt.

The detail adds nickname, department, notes, birthday, anniversary, website, updatedAt, and the lists emails[{id, email, label, isPrimary}], phones[{id, phone, label}], addresses[{id, street, city, state, postalCode, country, label}], websites[{id, url, label}], socialProfiles[{id, platform, handle}], relationships[{id, label, relatedContactId, relatedName}], groups[{id, name, color}].

Create with firstName, lastName and displayName (required) plus any of the fields above; list items are sent without id. PUT is partial: an omitted or null field stays as it is. To empty a field, name it in clearFields, for example {"clearFields": ["notes", "birthday"]}.

Examples

curl "https://developerapi.motaware.com/contacts/v1/contacts?q=lovelace" \
  -H "Authorization: Bearer $MOTAWARE_API_KEY"

curl -X POST https://developerapi.motaware.com/contacts/v1/contacts \
  -H "Authorization: Bearer $MOTAWARE_API_KEY" -H "Content-Type: application/json" \
  -d '{"firstName":"Ada","lastName":"Lovelace","displayName":"Ada Lovelace","emails":[{"email":"ada@example.org","label":"Work","isPrimary":true}]}'

Not available yet

Importing vCard or CSV files, merging duplicates, and uploading avatar images.