Forms
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
The form ID which the cases are linked to.
1
Number of items to retireve, maximum of 500
20
Property by which to sort the results
created_at
Order of results (asc or desc)
desc
Page to retrieve number, to be used with per_page
1
Filter cases on custom fields
OK
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - The form does not contain any cases
Unprocessable Entity - Required data missing or data invalid
GET /api/site/v2/forms/{form}/cases HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Accept: */*
No content
The ID of your form
1
The ID of the case
1234
OK
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - Case does not exist
Unprocessable Entity - Required data missing or data invalid
GET /api/site/v2/forms/{form}/cases/{id} HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Accept: */*
No content
The ID of your form
1
OK
Unauthorized - Credentials Incorrect
Forbidden - You cannot access this site
Not Found - Case does not exist
Unprocessable Entity - Required data missing or data invalid
POST /api/site/v2/forms/{form}/cases/create HTTP/1.1
Host: {{your site}}
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"userID": "text"
}
No content