DEVELOPERS · API REFERENCE
API Reference
The AllSign REST API exposes 77 operations across 12 resource types. All data on this page is generated from the OpenAPI spec.
Specifications
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.
Terminology
Operations
A unique combination of an HTTP method and a path — for example, GET /agreements/{ref}. Each operation maps to a single resource action: read, create, update, or delete.
API Operations
ACTORS
Get Actor Self
GET /actors/selfReturns the bearer-authenticated actor identity resolved for the current API request.
ACTORS
Replace Actor Avatar
PUT /actors/self/avatarStores avatar media for the bearer-authenticated actor and returns the updated actor representation.
ACTORS
Delete Actor Avatar
DELETE /actors/self/avatarDeletes avatar media for the bearer-authenticated actor and returns the updated actor representation.
ACTORS
Get Actor Avatar Content
GET /actors/self/avatar/contentReturns the binary avatar media content for the bearer-authenticated actor.
AGREEMENTS
List Agreements
GET /agreementsReturns a paginated canonical agreement collection visible to the authenticated actor.
AGREEMENTS
Create Agreement
POST /agreementsCreates a canonical agreement owned by the authenticated actor.
AGREEMENTS
Get Agreement
GET /agreements/{agreement_ref}Returns a canonical agreement identified by agreement reference.
AGREEMENTS
Update Agreement
PUT /agreements/{agreement_ref}Updates a canonical agreement identified by agreement reference.
AGREEMENTS
Delete Agreement
DELETE /agreements/{agreement_ref}Deletes a canonical agreement and returns its final representation.
AGREEMENTS
Create Agreement Rejection
POST /agreements/{agreement_ref}/rejectionsRecords a rejection event for the referenced agreement and returns the final agreement representation.
AGREEMENTS
Create Agreement Cancellation
POST /agreements/{agreement_ref}/cancellationsRecords a cancellation event for the referenced agreement and returns the final agreement representation.
AGREEMENTS
Create Agreement Copy
POST /agreements/{agreement_ref}/copiesCreates a canonical agreement copy from the referenced agreement and returns the copied agreement representation.
AGREEMENTS
Create Template From Agreement
POST /agreements/{agreement_ref}/templatesCreates a canonical template from the referenced agreement and returns the new template representation.
AGREEMENTS
Create Agreement Section
POST /agreements/{agreement_ref}/sectionsCreates a canonical section under the identified agreement.
AGREEMENTS
Update Section
PUT /sections/{section_ref}Updates a canonical section identified by section reference.
AGREEMENTS
Create Section Copy
POST /sections/{section_ref}/copiesCreates a canonical copy of the identified section and returns the copied section representation.
AGREEMENTS
Create Section Placement
POST /sections/{section_ref}/placementsRepositions a canonical section and returns the updated section representation.
AGREEMENTS
Delete Section
DELETE /sections/{section_ref}/placementsDeletes a canonical section and returns its final representation.
AGREEMENTS
Create Agreement Term
POST /agreements/{agreement_ref}/termsCreates a canonical term under the identified agreement, optionally nested under a section.
AGREEMENTS
Update Term
PUT /terms/{term_ref}Updates a canonical term identified by term reference.
AGREEMENTS
Delete Term
DELETE /terms/{term_ref}Deletes a canonical term and returns its final representation.
AGREEMENTS
Create Term Copy
POST /terms/{term_ref}/copiesCreates a canonical copy of the identified term and returns the copied term representation.
AGREEMENTS
Create Term Condition
POST /terms/{term_ref}/conditionsUpdates the canonical negotiability condition of a term and returns the updated term representation.
AGREEMENTS
Create Term Placement
POST /terms/{term_ref}/placementsRepositions a canonical term and returns the updated term representation.
ATTACHMENTS
List Agreement Attachments
GET /agreements/{agreement_ref}/attachmentsReturns canonical attachments scoped to the identified agreement.
ATTACHMENTS
Create Agreement Attachment
POST /agreements/{agreement_ref}/attachmentsCreates a canonical attachment scoped to the identified agreement.
ATTACHMENTS
Update Attachment
PUT /attachments/{attachment_ref}Updates canonical attachment metadata identified by attachment reference.
ATTACHMENTS
Delete Attachment
DELETE /attachments/{attachment_ref}Deletes canonical attachment metadata and returns its final representation.
COMMENTS
List Agreement Comments
GET /agreements/{agreement_ref}/commentsReturns a paginated canonical comment collection scoped to an agreement.
COMMENTS
Create Agreement Comment
POST /agreements/{agreement_ref}/commentsCreates a canonical comment scoped directly to an agreement.
COMMENTS
List Section Comments
GET /sections/{section_ref}/commentsReturns a paginated canonical comment collection scoped to a section.
COMMENTS
Create Section Comment
POST /sections/{section_ref}/commentsCreates a canonical comment scoped to a section.
COMMENTS
List Term Comments
GET /terms/{term_ref}/commentsReturns a paginated canonical comment collection scoped to a term.
COMMENTS
Create Term Comment
POST /terms/{term_ref}/commentsCreates a canonical comment scoped to a term and optionally pinned to the current revision.
COMMENTS
Update Comment
PUT /comments/{comment_ref}Updates a canonical comment identified by comment reference.
COMMENTS
Delete Comment
DELETE /comments/{comment_ref}Deletes a canonical comment and returns its final representation.
CONTACTS
List Contacts
GET /contactsReturns a paginated canonical contact collection owned by the authenticated actor.
CONTACTS
Create Contact
POST /contactsCreates a canonical contact owned by the authenticated actor.
CONTACTS
Get Contact
GET /contacts/{contact_ref}Returns a canonical contact identified by contact reference.
CONTACTS
Update Contact
PUT /contacts/{contact_ref}Updates a canonical contact identified by contact reference.
CONTACTS
Delete Contact
DELETE /contacts/{contact_ref}Deletes a canonical contact and returns its final representation.
CONTACTS
Replace Contact Avatar
PUT /contacts/{contact_ref}/avatarStores avatar media for a canonical contact identified by contact reference.
CONTACTS
Delete Contact Avatar
DELETE /contacts/{contact_ref}/avatarDeletes avatar media for a canonical contact identified by contact reference.
CONTACTS
Get Contact Avatar Content
GET /contacts/{contact_ref}/avatar/contentReturns the binary avatar media content for a canonical contact identified by contact reference.
PARTICIPANTS
List Agreement Participants
GET /agreements/{agreement_ref}/participantsReturns a paginated canonical participant collection for an agreement visible to the authenticated actor.
PARTICIPANTS
Create Agreement Participant
POST /agreements/{agreement_ref}/participantsCreates an agreement participant invitation or an active agent participant for the identified agreement.
PARTICIPANTS
Create Agreement Participant Self
POST /agreements/{agreement_ref}/participants/selfCreates a canonical active participant for the authenticated actor on the identified agreement.
PARTICIPANTS
Update Participant
PUT /participants/{participant_ref}Updates the canonical role assignment for an identified agreement participant.
PARTICIPANTS
Delete Participant
DELETE /participants/{participant_ref}Deletes a canonical participant and returns its final representation.
PARTICIPANTS
Create Invitation Accept
POST /invitations/{invitation_ref}/acceptsAccepts the identified invitation and returns the activated participant representation.
PARTICIPANTS
Create Invitation Reject
POST /invitations/{invitation_ref}/rejectsRejects the identified invitation and returns the rejected invitation reference.
REVISIONS
List Term Revisions
GET /terms/{term_ref}/revisionsReturns a paginated canonical revision collection scoped to a term.
REVISIONS
Create Term Revision
POST /terms/{term_ref}/revisionsCreates a canonical revision proposal for the identified term and records its accepting decision.
SIGNING
Get Agreement Protocol
GET /agreements/{agreement_ref}/protocolsReturns the current signing state and the single valid next action for the identified agreement.
SIGNING
Create Protocol Authentication
POST /protocols/{agreement_ref}/authenticationsCreates the current signing authentication transition for the identified agreement protocol.
SIGNING
Create Protocol Rcp Assignment
POST /protocols/{agreement_ref}/rcp/assignmentsCreates the reciprocal confirmation requirements for the identified agreement protocol.
SIGNING
Create Protocol Rcp Confirmation
POST /protocols/{agreement_ref}/rcp/confirmationsConfirms the current reciprocal confirmation challenge for the identified agreement protocol.
SIGNING
Create Agreement Signature
POST /agreements/{agreement_ref}/signaturesAttempts to create the actor's agreement signature and returns either the created signature or a verification challenge.
SIGNING
Create Verification Confirmation
POST /verifications/{verification_ref}/confirmationsCompletes the current signing-related verification challenge identified by verification reference.
TEMPLATES
List Templates
GET /templatesReturns a paginated canonical template collection owned by the authenticated actor.
TEMPLATES
Create Template
POST /templatesCreates a canonical template owned by the authenticated actor.
TEMPLATES
Get Template
GET /templates/{template_ref}Returns a canonical template identified by template reference.
TEMPLATES
Update Template
PUT /templates/{template_ref}Updates a canonical template identified by template reference.
TEMPLATES
Delete Template
DELETE /templates/{template_ref}Deletes a canonical template and returns a success confirmation.
TEMPLATES
Create Template Copy
POST /templates/{template_ref}/copiesCreates a canonical template copy from the referenced template and returns the copied template representation.
TEMPLATES
Create Agreement From Template
POST /templates/{template_ref}/agreementsCreates a canonical agreement from the referenced template and returns the new agreement representation.
TEMPLATES
Create Template Section
POST /templates/{template_ref}/sectionsCreates a canonical section under the identified template.
TEMPLATES
Create Template Term
POST /templates/{template_ref}/termsCreates a canonical term under the identified template, optionally nested under a section.
TEMPLATES
List Template Attachments
GET /templates/{template_ref}/attachmentsReturns canonical attachments scoped to the identified template.
TEMPLATES
Create Template Attachment
POST /templates/{template_ref}/attachmentsCreates a canonical attachment scoped to the identified template.
TEMPLATES
Get Template Content
GET /templates/{template_ref}/contentReturns the canonical document content compiled from the identified template.
Get notified when the API changes