Get form submissions
curl --request GET \
--url https://app.azalt.co/api/v1/form-submissions \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.azalt.co/api/v1/form-submissions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.azalt.co/api/v1/form-submissions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.azalt.co/api/v1/form-submissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.azalt.co/api/v1/form-submissions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.azalt.co/api/v1/form-submissions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.azalt.co/api/v1/form-submissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"formSiteId": "<string>",
"organizationId": "<string>",
"userId": "<string>",
"userName": "<string>",
"userEmail": "<string>",
"submitterName": "<string>",
"submitterEmail": "<string>",
"submitterTitle": "<string>",
"submitterCompany": "<string>",
"submitterAddress": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"year": 123,
"values": [
{
"formElementSubmissionId": "<string>",
"elementId": "<string>",
"periodUnit": 123,
"status": "COMPLETED",
"value": "<unknown>",
"originalValue": null,
"selectedUnitId": "<string>",
"userId": "<string>",
"userName": "<string>",
"userEmail": "<string>",
"userImage": "<string>",
"docs": [
"<unknown>"
],
"comments": [
"<unknown>"
],
"recordedAt": "<string>"
}
],
"deletedAt": "<string>",
"score": 123,
"actionPlan": "<string>",
"draftFiles": [
"<unknown>"
],
"scoreBreakdown": null
}
]{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}FormSubmission
Get form submissions
Retrieve form submissions with flexible identification options:
Form Identification (choose one):
formId: Direct form ID (e.g., “form-abc123”)formMetadataKey+formMetadataValue: Lookup by metadata (e.g., “erpFormId” = “form123”)
Optional Site Filtering:
siteId: Filter by specific site IDsiteMetadataKey+siteMetadataValue: Filter by site metadatayear: Filter by specific year
You can identify forms using either internal IDs or custom metadata key-value pairs, making it easy to integrate with external systems.
Response shape notes:
- Each submission contains
valuesgrouped by (elementId, periodUnit). - When a cell has multiple entries (e.g., TIMESTAMP elements with multiple timepoints in the same month, or ACTIVITY outputs),
valuebecomes an array. Each array item includes:recordedAt(for TIMESTAMP entries),formElementSubmissionId,status, anddocs(supporting documents) for that specific row.
- For single entries,
valueis the scalar value.
Example response (trimmed):
[
{
"id": "fs-1",
"year": 2024,
"values": [
{ "elementId": "el-monthly", "periodUnit": 3, "value": 120.5, "status": "APPROVED" },
{ "elementId": "el-ts", "periodUnit": 3, "value": [
{ "value": 10, "recordedAt": "2024-03-05T10:30:00Z", "formElementSubmissionId": "fes-1", "status": "COMPLETED", "docs": [] },
{ "value": 15, "recordedAt": "2024-03-12T08:00:00Z", "formElementSubmissionId": "fes-2", "status": "APPROVED", "docs": [] }
]
}
]
}
]
GET
/
form-submissions
Get form submissions
curl --request GET \
--url https://app.azalt.co/api/v1/form-submissions \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.azalt.co/api/v1/form-submissions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.azalt.co/api/v1/form-submissions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.azalt.co/api/v1/form-submissions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.azalt.co/api/v1/form-submissions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.azalt.co/api/v1/form-submissions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.azalt.co/api/v1/form-submissions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"formSiteId": "<string>",
"organizationId": "<string>",
"userId": "<string>",
"userName": "<string>",
"userEmail": "<string>",
"submitterName": "<string>",
"submitterEmail": "<string>",
"submitterTitle": "<string>",
"submitterCompany": "<string>",
"submitterAddress": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"year": 123,
"values": [
{
"formElementSubmissionId": "<string>",
"elementId": "<string>",
"periodUnit": 123,
"status": "COMPLETED",
"value": "<unknown>",
"originalValue": null,
"selectedUnitId": "<string>",
"userId": "<string>",
"userName": "<string>",
"userEmail": "<string>",
"userImage": "<string>",
"docs": [
"<unknown>"
],
"comments": [
"<unknown>"
],
"recordedAt": "<string>"
}
],
"deletedAt": "<string>",
"score": 123,
"actionPlan": "<string>",
"draftFiles": [
"<unknown>"
],
"scoreBreakdown": null
}
]{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Available options:
full, summary Response
Successful response
Show child attributes
Show child attributes

