# conversation.status_changed

HTML: https://www.app2email.com/docs/api/webhooks/conversation.status_changed · Index: https://www.app2email.com/docs/api/llms.txt

A conversation was marked solved, or opened again (by a person, the API, or a new message from the contact).

Group: Conversations. Header `X-App2email-Event: conversation.status_changed`. Inside the envelope `{id, type, created, number, test?, data}` ([envelope, headers, signature](https://www.app2email.com/docs/api/webhooks.md)). Every webhook of the number gets every number event: filter by `type`.

## data

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `data.contact` | string | yes |  |
| `data.conversation_id` | integer | yes |  |
| `data.status` | string | yes | one of: `open`, `solved` |
| `data.previous_status` | string |  | one of: `open`, `solved` |
| `data.by` | string |  | dashboard:<email>, api:<key name>, automation: <rule>, ai, or contact (a new message opened it again). |
| `data.timestamp` | string |  |  |

## Samples

### solved

```json
{
  "id": "evt_Team3k9m2Lw8Rt5Yp1Z02",
  "type": "conversation.status_changed",
  "created": "2026-11-19T02:10:00.000Z",
  "number": "4976659348270",
  "data": {
    "contact": "61412345678",
    "conversation_id": 1234,
    "status": "solved",
    "previous_status": "open",
    "by": "dashboard:ava@example.com",
    "timestamp": "2026-11-19T02:10:00.000Z"
  }
}
```

## Caused by

- [Mark a conversation solved, or open it again](https://www.app2email.com/docs/api/conversations/set-conversation-status.md): `PUT /v1/{number}/conversations/{contact}/status`

Send it to your URL: https://www.app2email.com/docs/api/webhooks/tester?type=conversation.status_changed
