Create staff assignment

POST /api/v1/advisory-firms/{firm_id}/users/{user_id}/assignments

Assign a member to a business with optional engagement metadata.

Operation ID: create_assignment_api_v1_advisory_firms__firm_id__users__user_id__assignments_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

Path

firm_id string required
user_id string required

Request body

business_id string required

Business to assign.

engagement_type string

Type of engagement: tax_preparation, audit, bookkeeping, advisory, etc.

start_date string

Engagement start date (YYYY-MM-DD).

end_date string

Engagement end date (YYYY-MM-DD).

notes string

Notes about the assignment.

Responses

201 Successful Response

id string required
user_id string required
business_id string required
firm_id string required
assigned_by string required
engagement_type string
start_date string
end_date string
notes string
created_at string · date-time required
updated_at string · date-time required

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

409 Conflict - Resource already exists

422 Validation Error

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