Check Respondent Availability
Description
Field Descriptions:
Response Structure
Error Response
Last updated
Last updated
POST /user/respondent/availability HTTP/1.1
Host: localhost:3000
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 362
{
"criteria": {
"gender": [
"Male",
"Female"
],
"ageMin": 18,
"ageMax": 50,
"domicile": {
"province": [
"Jawa Timur",
"Jawa Barat"
],
"city": [
"string1",
"string2"
],
"district": [
"string1",
"string2"
],
"subdistrict": [
"string1",
"string2"
],
"postalCode": [
"string1",
"string2"
]
},
"SES": [
"string1",
"string2"
]
},
"blacklistEmails": [
"[email protected]"
],
"whitelistEmails": [
"[email protected]"
]
}{
"status": true,
"trace_id": "string",
"message": "string",
"error": {},
"result": {
"totalRespondents": 100
},
"metadata": {}
}{
"error": {},
"result": {
"totalRespondents": 100
},
"status": true,
"message": "string",
"metadata": {},
"trace_id": "string"
}{
"error": {
"code": "INVALID_BODY",
"errors": [
{
"field": "Criteria",
"message": "This field is required"
}
],
"message": "Missing Required Information"
},
"result": {},
"success": false,
"traceId": "string",
"metadata": {}
}