# Assign a conversation

`POST /conversations/{conversation_id}/assign`

Gives the conversation one owner, a teammate or a team. Sends the `conversation.assigned` webhook.

Server: `https://api.relaypoint.example/v1`

Authentication: bearerAuth (http bearer)

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `conversation_id` | path | string | yes |  |

## Request body (required)

`application/json` · object

- `assignee_id` · string | null — A teammate id, or `null` to unassign.
- `team_id` · string

## Example request (curl)

```shell
curl https://api.relaypoint.example/v1/conversations/conv_8h2k1x/assign \
  --request POST \
  --header 'Authorization: Bearer YOUR_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
    "assignee_id": "usr_4fk2p9"
  }'
```

## Responses

### 200 — The conversation with its new owner.

`application/json` · Conversation

- `id` · string
- `subject` · string
- `status` · string —  One of: `"open"`, `"pending"`, `"closed"`.
- `channel` · string —  One of: `"email"`, `"chat"`, `"api"`.
- `customer` · CustomerSummary
  - `id` · string
  - `name` · string
  - `email` · string<email>
- `assignee` · object | null
  - `id` · string
  - `name` · string
- `tags` · array<string>
- `created_at` · string<date-time>

```json
{
  "id": "conv_8h2k1x",
  "subject": "Webhook deliveries failing with 401",
  "status": "open",
  "channel": "email",
  "customer": {
    "id": "cus_31ma7q",
    "name": "Jamie Kim",
    "email": "jamie@example.com"
  },
  "assignee": {
    "id": "usr_4fk2p9",
    "name": "Priya Shah"
  },
  "tags": [
    "webhooks"
  ],
  "created_at": "2026-10-30T09:14:22Z"
}
```

### 404 — The id doesn't exist in this workspace.

`application/json` · Error

- `error` · object
  - `code` · string
  - `message` · string
  - `field` · string
