# Assign Conversation

PUT /api/v2/projects/{projectId}/support/conversations/{conversationId}/assignee

Assigns a conversation to a project member, or hands it back to the AI agent with `assignedToUserId: null`, through the same writer as the inbox assignee picker. The inbox shows the same `Assignment:` line, naming the signed-in teammate. `me` assigns it to that teammate. Assigning the current owner again changes nothing. Returns 404 if the conversation does not belong to the project and 400 if the assignee is not a project member. API keys are refused with 403: an assignment is recorded as a teammate's act.

## Request

- projectId: string, path, required — ID of the project that owns the conversation.
- conversationId: string, path, required — ID of the conversation to assign.
- assignedToUserId: string, required — User id of the project member to assign, `me` for the signed-in teammate, or null to hand the thread back to the AI agent.
- respond: boolean — When handing the thread back to the AI agent, reply to the customer now. Ignored when assigning a teammate.

## Response

- 200: Successful response
  - owner: agent | member, required
  - assignedToUserId: string
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
