Check Respondent Availability
Last updated
Was this helpful?
Last updated
Was this helpful?
Check Respondent Availability endpoint is designed to verify the availability of a specific respondent for a given criteria before launch the survey. This endpoint helps survey administrators ensure that potential participants are available and willing to partake in the survey at a specified time, thereby optimizing scheduling and improving response rates.
criteria:
Type: Object
Description: You can sent only the required criteria to find the total respondent. At least one criteria is required.
gender:
Type: Array of strings
Description: Accepts values: Male
, Female
.
ageMin:
Type: Integer
Description: Minimum age of the respondent. If not sent we will set to 0.
ageMax:
Type: Integer
Description: Maximum age of the respondent. If not sent we will set to 100.
domicile:
Type: Object
Description: Geographic criteria of the respondent. At least one attribute inside domicile
is required if domicile sent. The full list of our valid domicile can be found here.
province: Array of strings representing provinces.
city: Array of strings representing cities.
district: Array of strings representing districts.
subdistrict: Array of strings representing subdistricts.
postalCode: Array of strings representing postal codes.
SES:
Type: Array of strings
Description: Socio-Economic Status (SES) of the respondent. Accepts values: Upper
, Middle
, Lower
.
blacklistEmails
Type: Array of strings
Description: List of blacklisted email
whitelistEmails
Type: Array of strings
Description: List of whitelisted email
The API will return a JSON object indicating the availability of the respondent.
Successful Response Example:
If the request encounters an issue, the response will include an error code and message.
Error Example:
Bad Request 400
Common Error Codes:
400: Bad request – usually due to invalid parameters.
401: Unauthorized – token missing or invalid.
404: Not found – respondent not found.
500: Internal server error – an issue on the server side.