curl --location --request POST 'https://api.challonge.com/v2/tournaments//matches//attachments.json' \
--header 'Accept;' \
--header 'Authorization-Type;' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"type": "match_attachment",
"attributes": {
"url": "https://placecage.com/c/200/200",
"description": "Is the President going to pardon me?",
"asset": {}
}
}
}'{
"id": 332211,
"type": "match_attachment",
"attributes": {
"id": 332211,
"url": "https://placecage.com/c/200/200",
"description": "There's a fine line between the Method actor and the schizophrenic.",
"timestamps": {
"createdAt": "2025-07-27 13:23:03 +0000",
"updatedAt": "2025-07-27 13:23:03 +0000"
}
}
}