Skip to main content
Conversations

Search guest conversations

Finds guest conversations using the same filters as the Sparrow Intel inbox, plus message search. Results with terms list the matching messages with an excerpt. Needs the Conversations product on the account. Needs the key's creator to hold the ConversationsView permission.

GET
/conversations
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

termsstring[]query

Words or phrases to find in messages; a conversation matches if any appears. Up to 10.

senderenum<string>query

Who wrote the matching messages: any (default), guest or us.

Available options: any, guest, us
messages_fromstringquery

Only messages sent on or after this UTC time count as matches.

messages_tostringquery

Only messages sent before this UTC time count as matches.

fromstringquery

Conversations with activity on or after this UTC time. Defaults to 90 days ago.

tostringquery

Conversations with activity before this UTC time. Defaults to now.

statusenum<string>query

open, closed or any (default).

Available options: open, closed, any
needs_replybooleanquery

true for conversations waiting on your reply, false for ones you answered last.

reservation_statusesstring[]query

Reservation statuses to include, such as Confirmed or Cancelled.

channelsstring[]query

Channels to include, such as Airbnb, Vrbo, BookingCom or Direct.

property_idsstring[]query

Only these property ids.

property_group_idsstring[]query

Only properties in these property group ids.

check_inenum<string>query

future, past, on, before or on_or_after (the last three need check_in_date).

Available options: future, past, on, before, on_or_after
check_in_datestringquery

Date for the check-in filter.

check_outenum<string>query

future, past, on, before or on_or_after (the last three need check_out_date).

Available options: future, past, on, before, on_or_after
check_out_datestringquery

Date for the check-out filter.

starredbooleanquery

true for starred conversations only.

limitintegerquery

Results per page, 1-100. Default 20.

cursorstringquery

The next_cursor from the previous page. Repeat the same filters with it.

Response

application/json

Success

dataany
metaobject