Contacts

Create a contact

This call will create a new contact in the database for the current entity. Either email or mobile must be supplied.

post/v1/contacts

Request

  • Base URL: https://api.getaccept.com
  • URL: https://api.getaccept.com/v1/contacts
  • Auth: HTTP bearer

Request body

first_namestring

First name of the contact

last_namestring

The last name of the contact

fullnamestring

Full name to use instead of first_name and last_name, ignored when first_name is sent. The last word becomes the last name and the words before it the first name, so a single word is stored as the last name.

company_namestring

Associated company

company_numberstring

Associated company number

titlestring

The title of the contact, for example CEO or Sales manager

phonestring

Phone number of the contact in international format

mobilestring

Mobile number of the contact, preferably in international format with the country code. A number without country code is accepted when it is valid with the country code of the entity, and it is stored as sent.

emailstring

The email of the contact

thumb_urlstring

Avatar URL to store on the contact, kept exactly as supplied.

notestring

Optional internal note for the contact

Response

The request succeeded.

contact_idstring required

Id of the contact. When email matches an existing contact of the entity, or mobile matches an existing contact without email, that contact is updated and its id returned: title, mobile, email, note, company_name, company_number and phone are replaced, and cleared when not sent, while first_name, last_name and thumb_url are kept unless sent.

Changes

No recorded changes to this operation across all 1 revision of this API.