---
title: "POST /work-management/{tenantLocator}/assignments"
method: POST
path: "/work-management/{tenantLocator}/assignments"
---

# POST /work-management/{tenantLocator}/assignments

`POST /work-management/{tenantLocator}/assignments`

## Request

- Base URL: `https://docs.socotra.com`
- URL: `https://docs.socotra.com/work-management/{tenantLocator}/assignments`
- Auth: none declared
- TypeScript: <https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/docs/work-management/:tenantLocator/assignments/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `tenantLocator` string, uuid, required

## Request body

- AutoAssignmentCreateRequest
  - `taskLocator` string, ulid
  - `task` TaskCreateRequest
    - `type` string, required
    - `deadlineTime` string, date-time
    - `references` TaskReference[], required
      - `referenceType` 'account' | 'quickQuote' | 'quote' | 'policy' | 'transaction' | 'invoice' | 'underwritingFlag' | 'payment' | 'quoteGroup' | 'inquiry', required
      - `referenceLocator` string, ulid, required
    - `underwritingFlagLocators` string[], required
    - `assignedTo` string, uuid
    - `description` string
    - `source` string
    - `tag` string
    - `labels` string[], required
  - `referenceType` 'account' | 'quickQuote' | 'quote' | 'policy' | 'transaction' | 'invoice' | 'underwritingFlag' | 'payment' | 'quoteGroup' | 'inquiry', required
  - `referenceLocator` string, ulid, required
  - `associationRole` string
  - `workgroupLocator` string, ulid
  - `traversal` 'depthFirst' | 'breadthFirst' | 'none'
  - `assignToGroup` 'never' | 'ifNotAssigned' | 'always'

## Response `200`

OK

- AutoAssignmentResponse
  - `taskLocator` string, ulid, required
  - `assignedUserLocator` string, uuid, required
  - `assignedWorkgroupLocator` string, ulid, required
  - `associationLocator` string, ulid, required

---

[API](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi.md) - [All operations](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/socotra/apis/socotra-insurance-suite-openapi/revisions/6537d24b3693?raw)
