API REFERENCES/Version 3.1//
- Retrieve attachment metadata
Upload an attachment
Download a message attachment
Retrieve attachment metad...
Returns metadata for a file uploaded in a message, including its name, type, and size.
Security
BearerAuth
- Production environmenthttps://demandapi.booking.com/3.1/messages/attachments/metadata
- Sandbox environmenthttps://demandapi-sandbox.booking.com/3.1/messages/attachments/metadata
curl -i -X POST \
https://demandapi.booking.com/3.1/messages/attachments/metadata \
-H 'Authorization: Bearer <YOUR_string_HERE>' \
-H 'Content-Type: application/json' \
-H 'X-Affiliate-Id: 0' \
-d '{
"conversation": "8586a789-44f4-5521-9f27-f5efd097cba6",
"accommodation": "6819547",
"attachment": "9635be40-1dc6-11f0-8893-0130f0cdef6d"
}'