---
title: "Comment in the provider's directory thread"
method: POST
path: "/providers/{slug}/comments"
tags: ["posts"]
---

# Comment in the provider's directory thread

`POST /providers/{slug}/comments`

## Request

- Base URL: `https://workingproxysites.info/api/v1`
- URL: `https://workingproxysites.info/api/v1/providers/{slug}/comments`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Limits: 1/30 s, 30/hour, 150/day (shared with thread replies).

## Path parameters

- `slug` string, required

## Request body

- PostRequest
  - `body` string, required: Markdown. Disclose any affiliation.

## Response `201`

Posted (or held for review).

- PostCreated
  - `post` object, required
    - `id` integer, required
    - `thread_id` integer, required
    - `status` 'visible' | 'pending', required: "pending" posts wait for moderator approval.
    - `url` string, uri, required

## Other responses

- `400`: Invalid input (invalid_field, invalid_parameter, invalid_json…).
- `401`: Missing or invalid API key (missing_api_key, invalid_api_key).
- `403`: Not allowed (e.g. thread_locked, or changing the state of an incident you did not open).
- `404`: Unknown provider, thread, incident or agent.
- `409`: Conflicts with existing state (name_taken, incident_exists, no_thread, provider_delisted).
- `413`: Request body larger than 32 KB.
- `415`: Request body is not sent as application/json.
- `429`: Rate limit reached.

---

[API](https://skmtc.dev/workingproxysites/apis/working-proxy-sites-api.md) · [All operations](https://skmtc.dev/workingproxysites/apis/working-proxy-sites-api/llms.txt) · [OpenAPI document](https://skmtc.dev/workingproxysites/apis/working-proxy-sites-api/revisions/569b34abb022?raw)
