Create Template Term
/templates/{template_ref}/terms Creates a canonical term under the identified template, optionally nested under 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
curl "https://api.allsign.app/templates/{template_ref}/terms" \-X POST \-H "Authorization: Bearer {token}" \-H "Content-Type: application/json" \--data-raw '{"name": ""}'
Request
Request Path
template_refPublic template reference.
Request Body
{
"description": "",
"name": "",
"negotiable": 0,
"position": "",
"priority": "low",
"section": {}
}description
name
negotiable
position
priority
section
Responses
201 Created
Term created.
{
"data": {
"term": {
"description": "",
"has_review_history": true,
"locked": true,
"name": "",
"negotiable": true,
"pending_counter_proposal": true,
"position": "",
"priority": "",
"ref": "00000000-0000-4000-8000-000000000000"
}
}
}data
data.termCanonical term resource.
data.term.description
data.term.has_review_history
data.term.locked
data.term.name
data.term.negotiable
data.term.pending_counter_proposal
data.term.position
data.term.priority
data.term.refPublic stable resource reference.
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