Docs/Channels/Booking.com

Booking.com Guest Messaging

Read conversations and send messages to Booking.com guests.

POST/v1/channels/booking/messaging

Parameters

property_idintegerRequired

Booking.com property id the conversation belongs to, connected to your workspace.

conversation_idstringRequired

Booking.com conversation id to reply in.

messagestringRequired

Message text.

Scope

  • Scoped to your workspace: a Booking.com property id that is not connected to your workspace returns 404 not_found, the same answer as an id that does not exist.
  • Without property_id, GET returns the latest messages for your workspace's own Booking.com properties only.
  • With property_id, add conversation_id or reservation_id to read one conversation.

Example

# Send a message to a guest
curl -X POST https://api.repull.dev/v1/channels/booking/messaging \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"property_id": 1234567, "conversation_id": "CONVERSATION_ID", "message": "Welcome! Here are your check-in instructions..."}'

# Conversation for a reservation
curl "https://api.repull.dev/v1/channels/booking/messaging?property_id=1234567&reservation_id=4218850692" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

# Latest messages across your Booking.com properties
curl https://api.repull.dev/v1/channels/booking/messaging \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
AI