AI categorize customer

POST /api/v1/customers/categorize

Use AI to suggest a category for a customer based on their information.

Operation ID: categorize_customer_api_v1_customers_categorize_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

name string required

Customer name

email string

Customer email

website string

Customer website

address string

Customer address

Responses

201 Successful Response

category string required

Suggested category.

subcategory string

Suggested subcategory.

confidence number required

Confidence score (0.0-1.0).

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object