Create a public recipient/entity
Creates an entity from a public add-recipient form. The controller delegates to EntityService::createEntity, which scopes the program by client, validates sp_num according to program type, validates optional email format, enforces any unique public field configured on the HysForm, stores remaining request fields in entity json_fields, increments the program counter, logs frontend activity, and reloads the entity cache. The route is throttled by frontend-add-entity middleware.
Path Parameters
Body
Public entity fields. Known service-level fields are documented explicitly; all configured HysForm field keys may also be supplied and are stored in json_fields after field-type normalization.
Response
Entity created.
A sponsorship recipient — the 'who/what' a donor sponsors. Entities can represent children, families, animals, projects, or any other sponsorable thing depending on the program. Like donors, entities have standardized columns plus arbitrary json_fields defined by the program's Hysform. Donations target an entity through the historical donation.designation column.