Create Agreement Comment
/agreements/{agreement_ref}/comments Creates a canonical comment scoped directly to an agreement.
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
curl "https://api.allsign.app/agreements/{agreement_ref}/comments" \-X POST \-H "Authorization: Bearer {token}" \-H "Content-Type: application/json" \--data-raw '{"content": ""}'
Request
Request Path
agreement_refPublic agreement reference.
Request Body
{
"content": "",
"on_revision": true
}content
on_revision
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
data.commentCanonical comment resource.
data.comment.actorActor identity attached to a comment.
data.comment.actor.avatar_url
data.comment.actor.name
data.comment.actor.ref
data.comment.content
data.comment.created_at
data.comment.on_revision
data.comment.refPublic stable resource reference.
data.comment.revision
data.comment.section
data.comment.term
400 Bad Request
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
401 Unauthorized
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
404 Not Found
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
422 Unprocessable Entity
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields