For all requests, the search parameters that you wish to send to the API endpoint must be sent as a URL encoded JSON string as a query string
$params = [ 'diocese_id' = 'XXXX', 'keyword' => 'Smith' ]; $encoded_params = json_encode($params);