PATCH
/
api
/
applications
/
{application_id}
Save Step Data
curl --request PATCH \
  --url https://monitoring.safeturf.ai/api/applications/{application_id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "form_data": {},
  "current_step": "<string>"
}
'
Called on every Next click. Backend deep-merges the payload into existing form_data — only send what changed.
application_id
string
required
Application UUID.
form_data
object
Fields to merge. All keys optional.
current_step
string
Step navigating TO. Used for resume.
curl -X PATCH "https://monitoring.safeturf.ai/api/applications/550e8400-e29b-41d4-a716-446655440000" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "form_data": {
      "business_name": "Acme Turf Co",
      "ein": "123456789",
      "entity_type": "llc"
    },
    "current_step": "principals"
  }'
Returns the updated application object.

form_data Reference

Business Info

FieldType
business_namestring
dbastring
einstring — digits only
entity_typellc | s_corp | c_corp | sole_proprietorship | partnership | nonprofit
state_of_incorporationstring — 2-letter state
phonestring — 10 digits
websitestring
emailstring
addressstring
citystring
statestring — 2-letter
zipstring
annual_sales_revenuenumber
annual_finance_revenuenumber
average_ticket_sizenumber
current_financing_providerstring

Principals (array)

"principals": [{
  "first_name": "string",
  "last_name": "string",
  "email": "string",
  "phone": "string",
  "ssn": "string",
  "date_of_birth": "YYYY-MM-DD",
  "address": "string",
  "city": "string",
  "state": "string",
  "zip": "string",
  "ownership_percentage": 100,
  "is_primary": true
}]

Bank Accounts (array)

"bank_accounts": [{
  "routing_number": "string",
  "account_number": "string",
  "account_type": "checking | savings",
  "account_type_category": "business | personal",
  "bank_name": "string",
  "legal_business_name": "string",
  "nickname": "string",
  "owner": "principal | other",
  "billing_address": {
    "street": "string",
    "unit": "string",
    "city": "string",
    "state": "string",
    "zip": "string"
  },
  "authorized_signer": {
    "first_name": "string",
    "last_name": "string"
  },
  "phone_number": "string",
  "email": "string"
}]

Locations (array)

"locations": [{
  "name": "string",
  "address": "string",
  "city": "string",
  "state": "string",
  "zip": "string",
  "phone": "string",
  "email": "string",
  "is_primary": true
}]

Agreements

"agreements": {
  "dealer_agreement": true,
  "terms_and_conditions": true,
  "privacy_policy": true,
  "e_consent": true,
  "code_of_conduct": true
}