Skip to content
Navigation

Create Monitor

POST /v1/monitors
10 credits / 24h Permission: monitors:write

Creates a new keyword monitor across Reddit posts and/or comments. Billed 10 credits upfront for the first 24 hours. Daily match volume and webhooks are free.

Authorization

  • bearerAuth: optional HTTP
  • apiKeyAuth: optional API key in header

Request body JSON required

  • name: required string
  • keywords: required array ofstring
  • exclude: optional array ofstring
  • subreddits: optional array ofstring
  • posts: optional boolean
    default: true
  • comments: optional boolean
    default: true
  • nsfw: optional boolean
    default: false
  • webhook_url: optional string
  • webhook_kind: optional generic|slack|discord|telegram

Returns

201

Created monitor and HMAC secret

JSON
  • monitor: optional object
    • id: required string
    • name: required string
    • keywords: required array ofstring
    • include_posts: required boolean
    • include_comments: required boolean
    • nsfw: required boolean
    • status: required active|paused|paused_balance|deleted
    • next_charge_at: required string
      format: date-time
    • created_at: required string
      format: date-time
    • updated_at: required string
      format: date-time
    • exclude: optional array ofstring
    • subreddits: optional array ofstring
    • webhook_url: optional string | null
    • webhook_kind: optional generic|slack|discord|telegram|null
    • webhook_failing: optional boolean
    • last_match_at: optional string | null
      format: date-time
  • webhook_secret: optional string

400

Bad request (invalid parameter or unknown action)
JSON
  • error: required object

    Some codes add fields, such as limit and used on monitor_limit_reached and upgrade_url on rate_limited and daily_quota_exceeded.

    • code: required string
    • message: required string
    • retryable: required boolean
    • retry_after: optional integer

      Seconds to wait before retrying.

    • request_id: optional string

      The request's X-Request-Id; include it when reporting an issue.

401

Missing or invalid API key or OAuth access token
JSON
  • error: required object

    Some codes add fields, such as limit and used on monitor_limit_reached and upgrade_url on rate_limited and daily_quota_exceeded.

    • code: required string
    • message: required string
    • retryable: required boolean
    • retry_after: optional integer

      Seconds to wait before retrying.

    • request_id: optional string

      The request's X-Request-Id; include it when reporting an issue.

402

The account has no credits left (insufficient_credits).
JSON
  • error: required object

    Some codes add fields, such as limit and used on monitor_limit_reached and upgrade_url on rate_limited and daily_quota_exceeded.

    • code: required string
    • message: required string
    • retryable: required boolean
    • retry_after: optional integer

      Seconds to wait before retrying.

    • request_id: optional string

      The request's X-Request-Id; include it when reporting an issue.

429

Rate limit or daily request quota exceeded
JSON
  • error: required object

    Some codes add fields, such as limit and used on monitor_limit_reached and upgrade_url on rate_limited and daily_quota_exceeded.

    • code: required string
    • message: required string
    • retryable: required boolean
    • retry_after: optional integer

      Seconds to wait before retrying.

    • request_id: optional string

      The request's X-Request-Id; include it when reporting an issue.

Type to search…

↑↓ navigate ↵ select Esc close