DatumForms.
Join the panel Sign in Create a survey

DATUMFORMS DOCUMENTATION

List survey groups (groups.list)

List up to 100 groups and their published versions. Continue with after_id.

For developers

Updated 15 November 2026

On this page

Request

GET https://app.datumforms.com/api/developer-api

Operation: groups.list Permissions: groups:read.

List up to 100 groups and their published versions. Continue with after_id.

Send operation as a query parameter for GET, or a top-level JSON member for POST. Every POST also needs idempotency_key (8–100 permitted characters). Fields marked data belong inside the JSON data object.

Parameter Location Type Required Meaning
after_id query integer No Last group ID from next_cursor; omit or 0 for the first page.

Response

Successful results contain success: true plus these operation fields. Fields returned by shared form and resource services retain their normal definitions.

Field Type or shape
groups Group[]
next_cursor integer or null

See schemas for answer cells, responses and collection details. Use IDs from your project: groups.list returns group IDs, surveys.get returns page/question IDs, and responses.list returns response IDs and revisions.

Examples

Set DATUMFORMS_API_KEY. Replace example IDs with IDs returned by the preceding reads. Replace docs-run-001 with your persisted job identity. Write examples perform the named operation; keep the exact request and identity unchanged when retrying. JavaScript and Python examples use the downloadable clients.

cURL

curl --fail-with-body --get 'https://app.datumforms.com/api/developer-api' \
  -H "Authorization: Bearer $DATUMFORMS_API_KEY" \
  --data-urlencode 'operation=groups.list' \
  --data-urlencode 'after_id=0'

JavaScript

import { request } from './client.mjs';
const result = await request("GET", {
  "operation": "groups.list",
  "after_id": 0
});
console.log(JSON.stringify(result, null, 2));

Python

import json
from client import request
payload = json.loads('{"operation": "groups.list", "after_id": 0}')
result = request('GET', payload)
print(json.dumps(result, indent=2))

Pagination and errors

Follow next_cursor using after_id until null. For 400, check required values and types; for 401, check authentication; for 403, check permissions and project scope; for 404, check the resource ID. See error recovery and the operation index.

Need help with this task? Contact DatumForms. Include the article URL and the step you reached.

Tracking preferences

Essential functions stay on. Choose whether to allow optional tracking on this website. You can change your choices in the footer at any time.

Read our privacy policy