Create, link, or convert a giving institution
Requires daf_qcd_giving_v1 and donor-form mutation access. Supply at least one of existing_donor_id, catalog_key, organization_name; conversion takes priority, then catalog key, then manual name. New directory/manual organization records have no personal/login identity and email is suppressed. Reuses compatible accessible existing institutions; a deleted linked record is not restored. Conversion preserves history/contact details and disables portal eligibility; already-marked institutions are reused without changing role. Directory role must match; saved grant/advisor/custodian relationships can prevent conversion. Returns201 only for a new record, otherwise200 with created=false. Requires permission: one of donors_manage.
Authorizations
Passport bearer token authentication for legacy admin sessions.
Path Parameters
Hysform id in the current organization.
Body
Validated request fields for this operation.
- Option 1
- Option 2
- Option 3
At least one organization selection is required. Additional fields are used only for a new manual record.
Existing donor id. Validation: nullable, integer, required_without_all:catalog_key,organization_name.
1
Catalog key. Validation: nullable, string, max:64, required_without_all:organization_name,existing_donor_id.
64"example-foundation"
Organization name. Validation: nullable, string, max:255, required_without_all:catalog_key,existing_donor_id.
255"Example Giving Foundation"
Role. Validation: nullable; allowed values: daf_sponsor, ira_custodian.
daf_sponsor, ira_custodian, null "daf_sponsor"
Street. Validation: nullable, string, max:255.
255"Street"
Address line2. Validation: nullable, string, max:255.
255"Address Line2"
City. Validation: nullable, string, max:255.
255"City"
State. Validation: nullable, string, max:255.
255"State"
Zip. Validation: nullable, string, max:50.
50"Zip"
Country. Validation: nullable, string, max:255.
255"Country"