New answers tagged

2

For your cv call either turn off the permission check or specify a user to run with. So either: <?php $result = civicrm_api4('Contact', 'get', [ 'checkPermissions' => FALSE, 'select' => ['id'], 'where' => [['first_name', '=', 'Ken']], 'limit' => 2, ]); echo $result->count(), "\n"; or ...


Top 50 recent answers are included