201Successful Response
Schema: SuccessEnvelope_AdvisoryFirmResponse_
successbooleanmessagestringcodestringdataAdvisoryFirmResponse
/api/v1/advisory-firmsCreate a new advisory firm.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: AdvisoryFirmCreateRequest
namestringrequiredFirm name.
addressstringFirm business address.
einstringTax Employer Identification Number.
logo_urlstringURL or S3 key for the firm logo.
stripe_customer_idstringStripe customer ID for subscription billing.
client_messaging_enabledbooleanWhether clients can use the messaging portal.
ap_automation_enabledbooleanWhether clients see the AP automation bills page in the client portal.
client_visible_integrationsarray · stringIntegration IDs visible to clients in the client portal.
client_ai_assistant_enabledbooleanWhether clients can use the read-only AI assistant in the client portal.
client_digest_email_enabledbooleanWhether clients receive the proactive financial digest email.
client_digest_frequencystringCadence of the client digest email: 'weekly' or 'monthly'.
One of: weekly, monthly
mfa_enforcedbooleanWhen true, firm owners/admins must use Clerk MFA for sensitive actions.
Schema: SuccessEnvelope_AdvisoryFirmResponse_
successbooleanmessagestringcodestringdataAdvisoryFirmResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.