Skip to main content
POST
/
form-submissions
/
recalculate-scores
Recalculate public form submission scores
curl --request POST \
  --url https://app.azalt.co/api/v1/form-submissions/recalculate-scores \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "formId": "<string>",
  "siteId": "<string>",
  "year": 123
}
'
{
  "totalSubmissions": 123,
  "updatedCount": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
formId
string
required
siteId
string
required
year
number
required

Response

Successful response

totalSubmissions
number
required
updatedCount
number
required