Skip to main content

Kaaj SOS API

This document describes the API endpoint for submitting SOS (Secretary of State) information. This is an asynchronous API.

Endpoint

POST https://api.kaaj.ai/application/sos-trigger

Headers

Authorization: Bearer <your_api_key>

Request Body

JSON body with the following fields:

Field NameTypeRequiredDescription
appIdstringYesUnique identifier for the application/form
businessNamestringYesLegal name of the business
incorporationStatestringYesState where the business is incorporated

Response

Initial Success Response

  • Code: 200 OK
  • Content:
Field NameTypeDescription
statusstringStatus of the request (e.g., "started")
workflow_idstringUnique identifier for the workflow process

Sample Initial Response

{
"status": "started",
"workflow_id": "7d901614-abf3-4bd6-b51f-cbe295821daf"
}

Final Response (via callback or separate endpoint)

When the asynchronous process completes, the following data will be available:

Field NameTypeDescription
namestringLegal name of the business entity
entity_typestringType of business entity (e.g., LLC, Corporation)
filing_numberstringOfficial filing number assigned by the state
filing_datestringDate when the entity was filed/registered
statusstringCurrent status of the business entity
registered_agentstringName of the registered agent for the business
addressstringOfficial address of the business entity
appIdstringUnique identifier for the application/form (as input)
businessNamestringLegal name of the business (as input)
incorporationStatestringState where the business is incorporated (as input)
recordIdstringUnique identifier for the record (as input)
is_exact_matchbooleanIndicates if the result is an exact match to the query

Sample Final Response

{
"appId": "test1",
"businessName": "ACME BAR & GRILL, L.L.C.",
"incorporationState": "Illinois",
"recordId": "rec_12345",
"name": "ACME BAR & GRILL, L.L.C.",
"entity_type": null,
"filing_number": "00077356",
"filing_date": "1996-07-26",
"status": "Involuntary Dissolution",
"registered_agent": null,
"address": "2300-18TH AVENUE, , Rock Island, IL, 61201",
"principals": "",
"is_exact_match": true
}

Error Response

  • Code: 400 Bad Request
  • Content:
    {
    "message": "One of the following fields is missing - 'appId', 'businessName', 'incorporationState'"
    }

Notes

  • All required fields must be provided in the request body.
  • The API key must be included in the Authorization header for authentication.
  • This is an asynchronous API. The initial response only confirms that the request has been accepted for processing.
  • The final result will be available through a callback mechanism or a separate endpoint using the provided workflow_id.
  • The server logs the API call, including the request body and headers.
  • The final response includes detailed information about the business entity, including whether it's an exact match to the provided business name.