Create Section Comment

POST /sections/{section_ref}/comments

Creates a canonical comment scoped to a section.


Conventions

Authentication

All endpoints require a Bearer token. Pass it in the Authorization header as Bearer <token>. Tokens are issued from the API settings page in your workspace.

Base URL

All paths are relative to https://api.allsign.app. The spec includes full paths; strip the base when constructing requests.

Versioning

The current version is 0.1.0. Breaking changes are documented in the Changelog and announced before taking effect.

Specification

The API follows OpenAPI Specification 3.x. All documentation on this page is generated directly from the spec.


Example

Bash
curl "https://api.allsign.app/sections/{section_ref}/comments" \
-X POST \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
--data-raw '{
"content": ""
}'

Request

Request Path
section_ref

Public section reference.

stringrequired
Request Body
{
  "content": "",
  "on_revision": true
}
content

stringrequired
on_revision

booleanoptional

Responses

201 Created

Comment created.

{
  "data": {
    "comment": {
      "actor": {
        "avatar_url": "",
        "name": "",
        "ref": "00000000-0000-4000-8000-000000000000"
      },
      "content": "",
      "created_at": "2026-01-01T00:00:00Z",
      "on_revision": true,
      "ref": "00000000-0000-4000-8000-000000000000",
      "revision": {},
      "section": {},
      "term": {}
    }
  }
}
data

objectrequired
data.comment

Canonical comment resource.

objectrequired
data.comment.actor

Actor identity attached to a comment.

objectrequired
data.comment.actor.avatar_url

stringnullrequired
data.comment.actor.name

stringrequired
data.comment.actor.ref

string,null (uuid)required
data.comment.content

stringrequired
data.comment.created_at

string (date-time)required
data.comment.on_revision

booleanrequired
data.comment.ref

Public stable resource reference.

string (uuid)required
data.comment.revision

objectrequired
data.comment.section

objectrequired
data.comment.term

objectrequired
400 Bad Request

{
  "error": {
    "code": "",
    "message": "",
    "request_id": "",
    "status": 1
  }
}
error

objectrequired
error.code

stringrequired
error.message

stringrequired
error.request_id

stringrequired
error.status

integerrequired
error.fields

object[]optional
401 Unauthorized

{
  "error": {
    "code": "",
    "message": "",
    "request_id": "",
    "status": 1
  }
}
error

objectrequired
error.code

stringrequired
error.message

stringrequired
error.request_id

stringrequired
error.status

integerrequired
error.fields

object[]optional
404 Not Found

{
  "error": {
    "code": "",
    "message": "",
    "request_id": "",
    "status": 1
  }
}
error

objectrequired
error.code

stringrequired
error.message

stringrequired
error.request_id

stringrequired
error.status

integerrequired
error.fields

object[]optional
422 Unprocessable Entity

{
  "error": {
    "code": "",
    "message": "",
    "request_id": "",
    "status": 1
  }
}
error

objectrequired
error.code

stringrequired
error.message

stringrequired
error.request_id

stringrequired
error.status

integerrequired
error.fields

object[]optional

© 2026 AllSign. All rights reserved.