Last updated 3 months ago
The form ID which the cases are linked to.
1
OK
const response = await fetch('/api/public/site/forms/{form}/cases', { method: 'GET', headers: {}, }); const data = await response.json();
The ID of your form
The ID of the case
1234
const response = await fetch('/api/public/site/forms/{form}/cases/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
Your Cases custom fields as a JSON object
const response = await fetch('/api/public/site/forms/{form}/cases/create', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "userID": "text" }), }); const data = await response.json();