Contacts

Add a contact to the address book

Adds a person or a company. Email first and then phone are the channels a message would try, in that order, and the language is the team’s unless another is given. Nothing is sent to the contact.

post/api/v1/contacts

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/contacts
  • Auth: API key in cookie better-auth.session_token

Request body

firstNamestring
lastNamestring
companyNamestring
phonestring
kind'tenant' | 'guarantor' | 'applicant' | 'guest' | 'contractor' | 'supplier' | 'owner' | 'representative' | 'other'
languagestring

Response

Added.

okunknown required

Changes

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