Home
Documentation
Resources
Partners
Community

Resources

Check for updates on our solutions and system performance, or request technical support.

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

Community

Get the latest news, ask others for help and share your knowledge.

Send message with file - Files and messages - Mercado Pago Developers

Intelligent search powered by OpenAI 

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-7434*********159-03141*********cee51edf8*********f94f589-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.