How to update a participant's profile photo

How to update a participant's profile photo

Use this guide when you need to replace or set a participant's profile photo using a publicly accessible image URL.


Prerequisites

  • Your API key

  • The participant's internal id, external_id, or email

  • A publicly accessible URL for the new photo


Request

Bash
curl -X POST "https://your-event-domain.com/api/v2/account/set" \
  -H "Authorization: Bearer your_api_key_here" \
  -F "event_id=7" \
  -F "id=12345" \
  -F "photo=https://example.com/photos/john-doe-updated.jpg"

Response

JSON
{
  "code": 200,
  "errors": null,
  "data": {
    "id": 12345,
    "email": "john.doe@example.com",
    "status": "updated",
    "external_id": null,
    "info": ["Account match: id"],
    "errors": []
  },
  "response_id": "1700000000.12345"
}

If the photo was processed successfully, the errors array will be empty. If there was a problem with the image (unsupported format, unreachable URL), a non-fatal error will appear there — the account will still be updated.


Accepted image formats

  • image/png

  • image/jpeg

Any other format will be rejected and the photo will not be updated.