Generated by API Evangelist
Written by API Evangelist tooling for Booking.com's API. It is a proposal applied on top of the contract, not a document Booking.com publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Booking Com Messages API
version: 1.0.0
extends: openapi/booking-com-messages-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/messages/send'].post
update:
x-apievangelist-phrasing:
intent: Send a message in a conversation
effect: write
questions:
- How do I reply to a guest's message in a Booking.com conversation?
- Can I attach a file to a message I send?
instructions:
- text: Send {content} in conversation {conversation} at property {accommodation}.
slots:
content: requestBody.content
conversation: requestBody.conversation
accommodation: requestBody.accommodation
- text: Reply to conversation {conversation} with {content} and attach files {attachments}.
slots:
conversation: requestBody.conversation
content: requestBody.content
attachments: requestBody.attachments
method: generated
generated: '2026-11-18'
- target: $.paths['/messages/latest'].post
update:
x-apievangelist-phrasing:
intent: Fetch the latest messages in a conversation
effect: read
questions:
- How do I sync recent messages from a guest conversation?
- Are messages returned newest first?
- Can I poll for new guest and property messages?
instructions:
- text: Fetch the latest messages using affiliate ID {affiliate_id}.
slots:
affiliate_id: header.X-Affiliate-Id
- text: Get up to 100 of the most recent messages for affiliate {affiliate_id}, newest first.
slots:
affiliate_id: header.X-Affiliate-Id
method: generated
generated: '2026-11-18'
- target: $.paths['/messages/latest/confirm'].post
update:
x-apievangelist-phrasing:
intent: Confirm I've read the latest messages
effect: write
questions:
- How do I acknowledge messages so I can keep receiving new ones?
- Do I have to confirm message receipt before getting more messages?
instructions:
- text: Confirm I've received messages {messages}.
slots:
messages: requestBody.messages
- text: Acknowledge the latest messages so new ones come through.
method: generated
generated: '2026-11-18'
- target: $.paths['/messages/attachments/metadata'].post
update:
x-apievangelist-phrasing:
intent: Get details about an uploaded file
effect: read
questions:
- What is the name, type and size of an uploaded file?
- Can I look up an attachment's metadata?
instructions:
- text: Get metadata for attachment {attachment} in conversation {conversation} at {accommodation}.
slots:
attachment: requestBody.attachment
conversation: requestBody.conversation
accommodation: requestBody.accommodation
- text: Show the file name and size of attachment {attachment}.
slots:
attachment: requestBody.attachment
method: generated
generated: '2026-11-18'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.