---
title: "Resume Monitor"
description: "Resumes a paused monitor. Immediately charges 10 credits for the next 24 hours."
---

> Documentation Index
> Fetch the complete documentation index at: https://staging.threadapi.dev/llms.txt
> Use this file to discover all available pages before exploring further.

Path: ThreadAPI API › Monitors

`POST /v1/monitors/{id}/resume`

Resumes a paused monitor. Immediately charges 10 credits for the next 24 hours.

## Authentication

Requires one of the following:

- `bearerAuth`, http, header `Authorization`
- `apiKeyAuth`, apiKey, in header, header `x-api-key`

## Path parameters

- `id` (`resumeMonitor.path.id`; string, required)

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.threadapi.dev/v1/monitors/<id>/resume' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.threadapi.dev/v1/monitors/<id>/resume';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.threadapi.dev/v1/monitors/<id>/resume"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
```

## Responses

### 200

Resumed monitor

#### Example

```json
{
  "monitor": {
    "id": "string",
    "name": "string",
    "keywords": [
      "string"
    ],
    "exclude": [
      "string"
    ],
    "subreddits": [
      "string"
    ],
    "include_posts": true,
    "include_comments": true,
    "nsfw": true,
    "webhook_url": "string",
    "webhook_kind": "generic",
    "status": "active",
    "webhook_failing": true,
    "next_charge_at": "2019-08-24T14:15:22Z",
    "last_match_at": "2019-08-24T14:15:22Z",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}
```

- `monitor` (`resumeMonitor.response.200.monitor`; object, optional)
  - `id` (`resumeMonitor.response.200.monitor.id`; string, required)
  - `name` (`resumeMonitor.response.200.monitor.name`; string, required)
  - `keywords` (`resumeMonitor.response.200.monitor.keywords`; array<string>, required)
  - `include_posts` (`resumeMonitor.response.200.monitor.include_posts`; boolean, required)
  - `include_comments` (`resumeMonitor.response.200.monitor.include_comments`; boolean, required)
  - `nsfw` (`resumeMonitor.response.200.monitor.nsfw`; boolean, required)
  - `status` (`resumeMonitor.response.200.monitor.status`; string, required)
    - one of `"active"`, `"paused"`, `"paused_balance"`, `"deleted"`
  - `next_charge_at` (`resumeMonitor.response.200.monitor.next_charge_at`; string, required)
    - format `date-time`
  - `created_at` (`resumeMonitor.response.200.monitor.created_at`; string, required)
    - format `date-time`
  - `updated_at` (`resumeMonitor.response.200.monitor.updated_at`; string, required)
    - format `date-time`
  - `exclude` (`resumeMonitor.response.200.monitor.exclude`; array<string>, optional)
  - `subreddits` (`resumeMonitor.response.200.monitor.subreddits`; array<string>, optional)
  - `webhook_url` (`resumeMonitor.response.200.monitor.webhook_url`; string | null, optional)
  - `webhook_kind` (`resumeMonitor.response.200.monitor.webhook_kind`; string | null, optional)
    - one of `"generic"`, `"slack"`, `"discord"`, `"telegram"`, `null`
  - `webhook_failing` (`resumeMonitor.response.200.monitor.webhook_failing`; boolean, optional)
  - `last_match_at` (`resumeMonitor.response.200.monitor.last_match_at`; string | null, optional)
    - format `date-time`

### 401

Missing or invalid API key or OAuth access token

#### Example

```json
{
  "error": "unauthorized: missing or invalid credentials",
  "error_code": "insufficient_credits"
}
```

One of:

- `ErrorResponse`
- `Error`

### 402

The account has no credits left (`insufficient_credits`).

#### Example

```json
{
  "error": {
    "code": "not_found",
    "message": "string",
    "retryable": true,
    "retry_after": 0
  }
}
```

- `error` (`resumeMonitor.response.402.error`; object, required)
  - `code` (`resumeMonitor.response.402.error.code`; string, required)
    - example `"not_found"`
  - `message` (`resumeMonitor.response.402.error.message`; string, required)
  - `retryable` (`resumeMonitor.response.402.error.retryable`; boolean, required)
  - `retry_after` (`resumeMonitor.response.402.error.retry_after`; integer, optional) — Seconds to wait before retrying.

### 404

Requested user or resource not found

#### Example

```json
{
  "error": "unauthorized: missing or invalid credentials",
  "error_code": "insufficient_credits"
}
```

One of:

- `ErrorResponse`
- `Error`


Source: https://staging.threadapi.dev/api/Monitors/resumeMonitor/index.md
