# How do I assign a topic via the API

**URL:** <https://meta.discourse.org/t/how-do-i-assign-a-topic-via-the-api/388216>\
**Category:** Product Support\
**Tags:** assign\
**Created:** [November 11, 2025, 2:25am UTC](https://meta.discourse.org/t/how-do-i-assign-a-topic-via-the-api/388216 "2025-11-11T02:25:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [November 12, 2025, 4:37am UTC](https://meta.discourse.org/t/how-do-i-assign-a-topic-via-the-api/388216/2 "2025-11-12T04:37:23Z")

</div>

First of all, our goal is to have a stable API, it is a multi year effort to get there, but it is certainly a place we want to get.

In the meant time a reasonable 2025 trick you can use is lean on AI agents to figure this stuff out:

This shows how you can lean on our GitHub helper to answer the question!

> **[Discourse Assign Plugin API Documentation](https://meta.discourse.org/discourse-ai/ai-bot/shared-ai-conversations/TlirMaHlES3vbu50DAC1GQ)**
>
> sam: looking at discourse/discourse source code search discourse assign plugin and figure out the exact endpoints and payloads I should use to assign and unassign a topic, document with a curl example and example reply

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-assign-a-topic-via-the-api/388216)._
