How to update a participant's networking opt-in setting
Use this guide when you need to update whether a participant has opted in or out of networking on the platform.
Prerequisites
-
Your API key
-
The participant's internal
id,external_id, oremail
Request — opt in to networking
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 "networking=true"
Request — opt out of networking
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 "networking=false"
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"
}
Notes
-
The
networkingfield must be passed as the exact string"true"or"false"— any other value will be ignored and a non-fatal error will appear in theerrorsarray -
This field maps to the platform's GDPR networking consent flag