Cannot create topic via API when category is “see & reply only”

Hi all,

I’m running into a permissions issue when trying to create new topics via the API in a category that’s locked down to “see” and “reply” only.

What I’m Trying to Do

  1. On an external page, I collect title/body/category from a user.
  2. My script sends a POST to /posts.json to impersonate that user.
  3. I expect a new topic to be created in the chosen category.

What Actually Happens

  • The category’s permissions are set to See & Reply only (no “Create” allowed).
  • My script immediately fails with:
{"status":403,"body":"{\"errors\":[\"You are not permitted to view the requested resource.\"],\"error_type\":\"invalid_access\"}"}

If I temporarily change the category to allow “Create” for every user, the same API call succeeds and the topic is created.

Is there any way to let user‑level API calls create a new topic in a category that’s otherwise locked without permanently opening up the category?

Thanks in advance!

This is functioning as intended.

When you act as a user using an API key you’re acting as that user, no extra permissions.

Workarounds are to either change topic owner after creation (as admin), or move the topic into the restricted category (as admin).

1 Like