SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester
forms

List submissions for a form.

List submissions for a form.

GEThttps://staging.softsolz.uk/api/v1/services/forms/forms/{id}/submissions

Recent Requests

Log in to see full request history
TimeStatusUser Agent
Make a request to see history.

Path Params

idstringrequired

Headers

Authorizationstringrequired

Bearer token: `Bearer sk_live_...` (or `sk_test_...` for sandbox). A login token will not work here.

Query Params

searchstring

Substring match against submission data.

date_fromstring

Only submissions created at or after this ISO timestamp.

date_tostring

Only submissions created at or before this ISO timestamp.

unread_onlyboolean

When "true", return only unread submissions.

limitinteger

Page size, 1-200 (default 50).

offsetinteger

Pagination 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"
}
]
}