How to create a participant with a profile photo
Use this guide when you want to register a new participant and include their profile photo in the same request, using a publicly accessible image URL.
Prerequisites
-
Your API key
-
The
event_idof the target event -
A publicly accessible URL pointing to the participant's photo
Request
curl -X POST "https://your-event-domain.com/api/v2/account/set" \
-H "Authorization: Bearer your_api_key_here" \
-F "event_id=7" \
-F "first_name=John" \
-F "last_name=Doe" \
-F "email=john.doe@example.com" \
-F "photo=https://example.com/photos/john-doe.jpg"
Response
{
"code": 200,
"errors": null,
"data": {
"id": 12350,
"email": "john.doe@example.com",
"status": "created",
"external_id": null,
"errors": []
},
"response_id": "1700000000.12350"
}
Accepted image formats
The platform accepts the following image formats only:
-
image/png -
image/jpeg
If an unsupported format is provided, the photo will not be saved and a non-fatal error will appear in the errors array. The account will still be created successfully.
Notes
-
The image URL must be publicly accessible at the time of the request — the platform fetches the image from the URL
-
If the URL is unreachable or returns an unsupported format, the photo is skipped without failing the entire request
-
Always check the
errorsarray in the response to confirm the photo was processed correctly