CiviCRM APIv4 passthrough
civicrm_api4Call any CiviCRM APIv4 entity and action with custom parameters. Review field names with civicrm_describe_entity to avoid errors.
Instructions
Generic APIv4 call. Accepts entity + action + params. Disabled unless CIVICRM_ALLOW_GENERIC_API=true; writes additionally need CIVICRM_ALLOW_WRITES and deletes need CIVICRM_ALLOW_DELETES. Use civicrm_describe_entity first if unsure of field names.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | APIv4 action name, e.g. get, create, update, save, delete, getFields, getActions. | |
| entity | Yes | APIv4 entity name, e.g. Contact, Contribution, Activity, Group. | |
| params | No | APIv4 params object (select, where, values, limit, chain, etc.). Pass {} for default. |