v1

latestOpenAPI 3.1.02026-07-241695611.0 MB
Webhook Events

NAICSPredictionRequest.completed

Emitted when a NAICS code prediction request has completed and results are available.

postWebhookNAICSPredictionRequest.completed

Payload

idstring uuid required

Unique identifier for the NAICS prediction request.

state'PENDING' | 'EXECUTING' | 'COMPLETED' | 'FAILED' | 'CANCELLED' required
business_idstring uuid nullable

The ID of the business for which the NAICS code was predicted.

business_search_idstring uuid nullable

The ID of the business search from which this NAICS prediction request originated.

errorstring nullable

Any errors that occurred during the NAICS prediction request.

reference_idstring nullable

An optional reference ID associated with this request, inherited from the parent search.

created_atstring date-time required

The date and time when the NAICS prediction request was created.

Example payload

{
  "id": "e772808e-6836-4611-919c-bbcf4b1c028a",
  "business_id": "167932b7-9c5b-4935-a6b3-8620b029b244",
  "business_search_id": "7dcbee79-1c47-4b2c-9220-a02bdd56fab5",
  "predicted_naics": {
    "code": "336111",
    "title": "Automobile Manufacturing",
    "accuracy": 1,
    "keywords": [
      "Automobiles",
      "Manufacturing",
      "Cars",
      "Trucks"
    ],
    "reasoning": "Based on homepage content mentioning automobile manufacturing and assembly processes."
  },
  "reference_id": "Search1234",
  "created_at": "2026-07-16T19:24:27.701451"
}

Response

Successful Response

{"stackTrail":"webhooks:NAICSPredictionRequest.completed:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}