How to update a participant's password
Use this guide when you need to set or reset a participant's platform password via the API.
Prerequisites
-
Your API key
-
The participant's internal
id,external_id, oremail -
The new password, which must meet the complexity requirements below
Password requirements
The password must:
-
Be at least 8 characters long
-
Contain at least one uppercase letter
-
Contain at least one lowercase letter
-
Contain at least one digit
-
Contain at least one special character
-
Contain no whitespace
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 "password=NewP@ssw0rd!"
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"
}
What happens if the password doesn't meet requirements?
Password failures are non-fatal — the account will still be updated (other fields will be saved), but the password will not be changed. A descriptive error will appear in the errors array:
JSON
{
"errors": ["Password must be at least 8 characters..."]
}
Always check the errors array after a password update to confirm it was applied.