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
attachments
string
Image file attached to the message that will be associated with the claim.
message
string
Text of the message to be associated with the claim.
receiver_role
string
Person to whom the message associated with the claim will be sent.
Response parameters
Esta solicitação não tem resposta
Errors

201Éxito

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 '{
  "attachments": "WhatsApp-Image-2020-09-22.jpeg",
  "message": "Mensaje de prueba",
  "receiver_role": "respondent"
}'
Sample answer
// This request has not been responded to.