Skip to main content

Advanced Forms Report

Digital form submissions with dynamic parameters — requires a specific form_id.

GET/apidev/v1/reports/gt/advanced-forms
PermissionAPICLI_RPTGT_FORMAVANZADO
Rate Limit10 req/min
Cache300s
Max Range31 days

Overview​

Returns digital form submissions for a specific form (form_id is required) over a date range, with the dynamic field values captured in each submission alongside the related client, account, and task. Use columns to select which form parameters to include in the parameters array of each row. Submissions not linked to a task are included with task_number and task_date as null.


Request​

Request Headers​

Every request to a protected endpoint requires these headers:

HeaderRequiredDescription
AuthorizationYesBearer token obtained from the Login endpoint. Format: Bearer <token>
X-API-KeyYesCompany integration key provided during onboarding. Format: gtk_xxx...
tenantYesYour assigned tenant domain (default: geotareas.com) — always send your assigned tenant
Content-TypeConditionalapplication/json — required for POST and PUT requests

Query Parameters​

ParameterTypeRequiredDefaultDescription
startdatestringYes—ISO 8601 start date-time (e.g. 2026-03-01T00:00:00).
enddatestringYes—ISO 8601 end date-time. Max range 31 days from startdate.
form_idstringYes—The form to query.
devicesstringNo—Comma-separated device IDs. Max 500.
driversstringNo—Comma-separated driver IDs. Max 500.
service_typesstringNo—Comma-separated service type IDs. Max 100.
causesstringNo—Comma-separated cause IDs. Max 100.
providersstringNo—Comma-separated provider IDs. Max 100.
provider_typesstringNo—Comma-separated provider type IDs. Max 50.
client_idstringNo—Filter by client ID.
account_idstringNo—Filter by account ID.
columnsstringNo—Comma-separated form parameter names to include in parameters. Omit to return all parameters. Max 500 chars.
limitintegerNo25Number of records per page (1–100).
offsetintegerNo0Number of records to skip for pagination.

Code Examples​

curl -s -H "Authorization: Bearer $TOKEN" \
-H "X-API-Key: $APIKEY" \
-H "tenant: $TENANT" \
"https://$TENANT/apidev/v1/reports/gt/advanced-forms?startdate=2026-03-01T00:00:00&enddate=2026-03-15T23:59:59&form_id=104820579700&limit=25"

Response​

Response Fields​

FieldTypeDescription
form_idstringForm identifier.
account_idstring | nullAccount identifier.
account_namestringAccount name.
client_idstring | nullClient identifier.
client_namestringClient name.
task_numberstring | nullTask number.
task_datestring | nullTask date.
parametersarrayDynamic form field values.

Parameters Array Fields​

FieldTypeDescription
tab_idstring | nullTab identifier.
param_idstring | nullParameter identifier.
param_namestringParameter name.
value_stringstring | nullText value.
value_numbernumber | nullNumeric value.

Example Response​

{
"success": true,
"data": [
{
"form_id": "104820579700",
"account_id": "104820579800",
"account_name": "Client Corp",
"client_id": "104820579900",
"client_name": "Client Corp S.A.",
"task_number": "104820580001",
"task_date": "2026-03-05",
"parameters": [
{
"tab_id": "1",
"param_id": "10",
"param_name": "Condition",
"value_string": "Good",
"value_number": null
},
{
"tab_id": "1",
"param_id": "11",
"param_name": "Score",
"value_string": null,
"value_number": 85
}
]
}
],
"meta": {
"total": 1,
"limit": 25,
"offset": 0
}
}

Errors​

CodeHTTPDescription
VALIDATION_ERROR400Invalid params: missing dates, missing form_id, range > 31 days.
UNAUTHORIZED401Missing, invalid, or expired tenant / Authorization / X-API-Key
FORBIDDEN403User lacks required permission.
RATE_LIMITED429Exceeded 10 req/min.
INTERNAL_ERROR500Unexpected server error.