...
You can send either to several target parameters that point to Patients, or to a single parameter that points to a whole team. The requests will be sent to any patient in the team, even if they are unregistered.
Sending to a few specific patients
If using the API for only a few specific patients, you can send questionnaire requests to any patient that is in your org network, even if they are not part of your organisation or unregistered. Note that you can also send questionnaire requests to patients that were discharged or that have sharing disabled using this method.
...
When sending questionnaire requests to a whole team, only people that were not discharged and with sharing enabled will receive the request, whether they are registered or not. Deceased patients are also excluded from this operation.
...