Create a rental application chat
Opens the chat for an applicant and returns its id. An applicant already on file as a tenant gets their tenant chat; otherwise the chat is keyed on their phone number.
Authorization
AuthorizationstringrequiredPath parameters
rentalApplicationIdstringrequiredThe rental application to open a chat about.
Response
200 · The applicant's chat, or the reason there is none.
chatIdstringThe chat to talk to this recipient in. Absent when failureReason explains why no chat could be made.
failureReasonstringWhy no chat could be made. Absent on success.
401 · The access token is missing, expired, or not valid.
404 · No rental application with that id belongs to your company.
This call creates or finds a chat. It does not message anyone. Nothing reaches the recipient until you post a message to the returned chatId.
An application already linked to a chat returns that chat. Calling it again returns the same chat rather than making a second one.
An applicant with no tenant record and no phone number has nothing to key a chat on. That is a normal state for a half-finished application, so the call succeeds with no chatId and a failureReason of "Rental application does not have a phone number". Check chatId before using it.