Create a discussion post
Creates a new comment on a discussion. Requires the discussion ID in the request body. Sanitizes HTML content, processes media attachments and @mentions (up to 50), sends notifications to mentioned users and discussion followers via async message queue, and auto-follows the discussion for the commenter.
Authorizations
Server-to-server authentication. Generate a token in the admin UI at
Settings → Developers → API Access. Send the raw token in the
Api-Token header — there is no Bearer prefix.
Tokens can be marked read-only at creation time, in which case the API
rejects any non-GET request with 403 Forbidden.
Body
The new Post resource
Response
Post resource created
"/api/v1/logs/1"
"/api/v1/tasks/1"

