List submissions for a form.
List submissions for a form.
GET
https://staging.softsolz.uk/api/v1/services/forms/forms/{id}/submissionsRecent Requests
Log in to see full request historyTimeStatusUser Agent
Make a request to see history.
Path Params
idstringrequiredHeaders
AuthorizationstringrequiredBearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.
Query Params
searchstringSubstring match against submission data.
date_fromstringOnly submissions created at or after this ISO timestamp.
date_tostringOnly submissions created at or before this ISO timestamp.
unread_onlybooleanWhen "true", return only unread submissions.
limitintegerPage size, 1-200 (default 50).
offsetintegerPagination offset (default 0).
Response
Response Body · array of objects
idintegerSubmission id.form_idintegerParent form id.dataobjectSubmitted values keyed by field id. File fields carry { filename, mime, size_bytes }.source_kindstringHow the submission arrived (api, widget, direct).read_atstring | nullWhen marked read; null if unread.created_atstringSubmission timestamp.Request
import { SoftSolz } from '@softsolz/sdk';
const client = new SoftSolz({ apiKey: process.env.SOFTSOLZ_API_KEY });
const result = await client.forms.listFormSubmissions('<id>', {});console.log(result);Credentials
Sent as a Bearer token. Stored only in your browser.
Response · 200
{ "data": [ { "id": 0, "form_id": 0, "data": {}, "source_kind": "string", "read_at": "string", "created_at": "string" } ]}