ImmobiNet
ImmobiNet API Docs - Messages

Messages

​object
​Message[]

Message

id
​integer
status
​string · enum
Enum values:
draft
queued
sent
failed
created_at
​string · date-time

Message creation time.

Example: 2026-06-26T14:30:00+02:00
subject
​string | null
​MessageMessage
transport
​string · enum
Enum values:
airbnb
sms
email
direction
​string · enum
Enum values:
inbound
outbound
​MessageContact | null
​MessageContact[]
sent_at
​string · date-time

Message send time.

Example: 2026-06-26T14:30:00+02:00
last_read_at
​DatetimeRome | null · date-time

Last read time.

Example: 2026-06-26T14:30:00+02:00
reads
​array | null

Every time the message was read, in ascending order (the last one is last_read_at). Only in the detail of a message (GET /api/v1/messages/{messageId}), null everywhere else (the list and the replies) because reading it costs a query per message. An empty list when the message was never read.

language
​LanguageCode | null · pattern: ^[a-z]{2}$

Language of the first recipient. null if not set.

Example: it
​MessageReferences
​MessageAttachment[]

MessageMessage

mime_type
​string
body
​string

MessageDraftInput

​MessageMessage · required
subject
​string

Required if is an email message

MessageDraftPatchInput

subject
​string

Required if is an email message

​MessageMessage

MessageContact

email
​string | null · email
phone
​string | null

Phone number in E.164 format

name
​string
language
​LanguageCode | null · pattern: ^[a-z]{2}$

Language to use to write to the contact. null if not set.

Example: it
​ContactReferences

MessageReferences

reservation_id
​string | null · uuid
quote_id
​integer | null

ContactReferences

contact_id
​integer | null
ota_user_id
​integer | null

MessageAttachment

name
​string
url
​string · uri
mime_type
​string

DatetimeRome

string · date-time

Instant in RFC 3339 format, in Europe/Rome timezone, with the UTC offset (e.g. 2026-06-26T14:30:00+02:00).

Example: 2026-06-26T14:30:00+02:00

LanguageCode

string · pattern: ^[a-z]{2}$

Language, as an ISO 639-1 code of two lowercase letters (it, en). It names the language only, with no region.

Example: it