Authorization: Bearer ********************{
"lottery_codes": [
{
"code": "string",
"participant_info": {
"name": "string",
"phone": "string",
"email": "user@example.com"
}
}
]
}curl --location --request POST '/webhook/activities//lottery-codes' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"lottery_codes": [
{
"code": "string",
"participant_info": {
"name": "string",
"phone": "string",
"email": "user@example.com"
}
}
]
}'{
"success": true,
"data": {
"created_count": 0,
"failed_count": 0,
"failed_codes": [
"string"
]
},
"message": "string"
}