Send message with file - Files and messages - Mercado Pago Developers
What are you looking for?

Do not know how to start integrating? 

Check the first steps
Send message with file

POST

https://api.mercadopago.com/post-purchase/v1/claims/{claim_id}/actions/send-message
This endpoint allows, through a valid token, sending and associating messages with attached image files to the claim.
Request's parameters
PATH
claim_id
number

REQUIRED

Claim ID. Unique identifier used to reference a specific claim in the system, essential for tracking and managing these claims.
QUERY
application_id
string
This is the client unique identificator who initiated the claim.
BODY
receiver_role
string
Person to whom the message associated with the claim will be sent.
message
string
Text of the message to be associated with the claim.
attachments
string
Image file attached to the message that will be associated with the claim.
Response parameters
Esta solicitação não tem resposta
Request
curl -X POST \
    'https://api.mercadopago.com/post-purchase/v1/claims/{claim_id}/actions/send-message?application_id=123456789'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-7719*********832-03141*********ec9309854*********f1e54b5-1*********' \
    -d '{
  "receiver_role": "respondent",
  "message": "Mensaje de prueba",
  "attachments": "WhatsApp-Image-2020-09-22.jpeg"
}'
Sample answer
// This request has not been responded to.