# PATCH /email/threads/:id

**Resource:** [Email](./email.md)  
**Scopes:** `email:write`  
**Write operation:** yes

Update an email thread — mark as read/unread or change status (active, archived, spam).

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `id` | path | uuid | yes | Email thread UUID |
| `is_read` | body | boolean | no | Mark thread as read or unread |
| `status` | body | string | no | Thread status: active, archived, or spam |

## Request example

```bash
curl -X PATCH \
  "https://api.trustpager.com/functions/v1/api/v1/email/threads/THREAD_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"is_read":true}'
```

## Response example

```json
{
  "data": {
    "id": "thread-uuid-...",
    "is_read": true,
    "status": "active",
    "subject": "Re: Project Proposal"
  },
  "meta": { "credits_remaining": 9490 }
}
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`