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 Attachments API
version: 1.0.0
extends: openapi/booking-com-attachments-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: 3
- target: $.paths['/messages/attachments/upload'].post
update:
x-apievangelist-phrasing:
intent: Upload a file to a message
effect: write
questions:
- How do I attach a photo to a message with Booking.com?
- What file details do I need to upload an attachment?
instructions:
- text: Upload {file_name} ({file_type}, {file_size} bytes) to conversation {conversation} at property {accommodation}.
slots:
file_name: requestBody.file_name
file_type: requestBody.file_type
file_size: requestBody.file_size
conversation: requestBody.conversation
accommodation: requestBody.accommodation
- text: Attach {file_name} to {conversation} at {accommodation} as a {file_type} file.
slots:
file_name: requestBody.file_name
conversation: requestBody.conversation
accommodation: requestBody.accommodation
file_type: requestBody.file_type
method: generated
generated: '2026-11-18'
- target: $.paths['/messages/attachments/download'].post
update:
x-apievangelist-phrasing:
intent: Download a message attachment
effect: read
questions:
- Can I fetch the file a guest attached to a message?
- What does the downloaded attachment file contain?
instructions:
- text: Download attachment {attachment} from conversation {conversation} at property {accommodation}.
slots:
attachment: requestBody.attachment
conversation: requestBody.conversation
accommodation: requestBody.accommodation
- text: Fetch the attached file {attachment} in {conversation} for {accommodation}.
slots:
attachment: requestBody.attachment
conversation: requestBody.conversation
accommodation: requestBody.accommodation
method: generated
generated: '2026-11-18'
- target: $.paths['/messages/attachments/metadata'].post
update:
x-apievangelist-phrasing:
intent: Get metadata for a message attachment
effect: read
questions:
- What is the size and type of an attachment I uploaded?
- Can I check an attachment's name and size without downloading it?
instructions:
- text: Get the metadata for attachment {attachment} in conversation {conversation} at {accommodation}.
slots:
attachment: requestBody.attachment
conversation: requestBody.conversation
accommodation: requestBody.accommodation
- text: Show the file name, type and size of {attachment} in {conversation} for {accommodation}.
slots:
attachment: requestBody.attachment
conversation: requestBody.conversation
accommodation: requestBody.accommodation
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.