Intelligent search powered by OpenAI
Attach files to the message
POST
Request's parameters
PATH
claim_id
Claim ID. Unique identifier used to reference a specific claim in the system, essential for tracking and managing these claims.number
REQUIRED
FORMDATA
Response parameters
user_id
Presents the ID of the person who sent the image file that was attached to the message associated with the claim. It is necessary for this person to be a participant in the claim.number
filename
Hashed file name (used for retrieving the attachment).string
render_url
URL where you can get the rendered image file.string
Did you find this information useful?
Yes
Not
Request
curl -X POST \
'https://api.mercadopago.com/post-purchase/v1/claims/{claim_id}/attachments'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-7719*********832-03141*********ec9309854*********f1e54b5-1*********' \
Sample answer
{
"user_id": 415836081,
"filename": "44739b8c-592f-4fa3-bdc0-ed1905879eab.jpeg",
"render_url": "https://fury-storage-private-default.s3.amazonaws.com/mediations-api-core/attachment2/767b79a6-88c8-4fa4-8d95-2cb78fcd897f.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIA2W4YYFSFIIM7ONWJ%2F20201009%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201009T174026Z&X-Amz-Expires=43200&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEA8aCXVzLWVhc3QtMSJHMEUCIBznL6LSjtxZx2rmNacevS3fkUtCntzn8hEERS3I9zGcAiEArLoRIu6slpEVHMaKK2%2B3LaXK5vJeEVlwmQ1en1xBlswqtAMIRxABGgw3MzYzNzAzNzE3MjIiDN38MnchbBVYZCS%2BfiqRA9sgC51NLCQ0stU6s2Dek7gt8JmSth7oYLHE8v1WhK3WaiBfe%2FV6LqnrqJcGIikCXr05GqQalWZQLITG1mwC%2Fkx6x5XL5jKFw67lXUvoZzmctRoQPpXpA6MJBTvdCZJKifAS2grLExBJ7KUrgGH6MCxiHpZwm5cO1VP9E5ETFcOTtVzgJtSU0TX70Z4%2BVZPwbxbuEnnqCuW61MZkMvT4dF6oVkZZBR8JuaaiM4w17FV%2B%2Bzt3l39EP9iZdv7NG6G6ZFjvL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