Get Agreement Protocol
/agreements/{agreement_ref}/protocols Returns the current signing state and the single valid next action for the identified 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}/protocols" \-H "Authorization: Bearer {token}"
Request
Request Path
agreement_refPublic agreement reference.
Responses
200 OK
Agreement signing protocol state.
{
"data": {
"state": "idle",
"action": {}
}
}dataCurrent protocol state and next action for agreement signing.
data.stateCurrent server-driven signing protocol state for the authenticated actor.
data.action
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