curl --location --request POST 'https://api.challonge.com/v2.1/tournaments//participants/bulk_add.json?community_id' \
--header 'Accept;' \
--header 'Authorization-Type;' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"type": "Participants",
"attributes": {
"participants": [
{
"name": "AllBossFights",
"seed": 1,
"misc": "",
"email": "me@allbossfights.xyz",
"username": "AllBossFights"
}
]
}
}
}'[
{
"id": "76",
"type": "participant",
"attributes": {
"name": "Player 1's Name",
"seed": 1,
"group_id": "(If this is a group stage match, there will be a group id here.)",
"tournament_id": 21,
"username": "(The participant's associated Challonge username, if present.)",
"final_rank": 1,
"states": {
"active": true
},
"misc": "Store whatever string you like here",
"timestamps": {
"created_at": "2023-04-21T14:29:06.374Z",
"updated_at": "2023-04-21T14:31:45.981Z"
}
}
}
]