Retrieves quota for a specific project.
cURL
curl --request GET \ --url https://api-staging.respondent.io/v1/projects/{projectId}/quota \ --header 'x-api-key: <x-api-key>' \ --header 'x-api-secret: <x-api-secret>'
{ "progress": { "1": { "currentCount": 10, "targetCount": 25 }, "2": { "currentCount": 15, "targetCount": 30 } }, "id": "<string>", "projectId": "<string>", "version": "v1", "totalTarget": 2, "status": "IN_PROGRESS", "criteria": { "category": "gender", "segments": [ { "value": "male", "percentage": 50, "id": "1" } ] }, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Quota progress by segment ID
{ "1": { "currentCount": 10, "targetCount": 25 }, "2": { "currentCount": 15, "targetCount": 30 }}
v1
x >= 1
IN_PROGRESS
FILLED
Show child attributes
Was this page helpful?