API REFERENCES/Beta//
- Retrieve attachment metadata
Send a message
Retrieve latest messages
Confirm message receipt
Retrieve attachment metad...
Use this endpoint to get basic information about an uploaded file, such as its name, type, and size.
Security
BearerAuth
- https://demandapi.booking.com/3.2https://demandapi.booking.com/3.2/messages/attachments/metadata
- https://demandapi-sandbox.booking.com/3.2https://demandapi-sandbox.booking.com/3.2/messages/attachments/metadata
curl -i -X POST \
https://demandapi.booking.com/3.2/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"
}'