Register for event
civicrm_register_for_eventRegister a contact for an event by creating a Participant record. Specify contact and event IDs, with optional role, status, and date.
Instructions
Create a Participant record registering a contact for an event. Requires CIVICRM_ALLOW_WRITES=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Participant role name, e.g. Attendee, Speaker, Volunteer, Host. | Attendee |
| source | No | ||
| status | No | Participant status name, e.g. Registered, Attended, Cancelled. | Registered |
| event_id | Yes | ||
| contact_id | Yes | ||
| register_date | No | ISO-8601 datetime; defaults to now. |