Create Protocol Authentication
/protocols/{agreement_ref}/authentications Creates the current signing authentication transition for the identified agreement protocol.
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/protocols/{agreement_ref}/authentications" \-X POST \-H "Authorization: Bearer {token}" \-H "Content-Type: application/json" \--data-raw '{}'
Request
Request Path
agreement_refPublic agreement reference.
Request Body
{
"password": ""
}password
Responses
200 OK
Session continuation.
{
"data": {}
}data
data.sessionAuthenticated session continuation payload.
data.verificationSignature or signing authentication verification challenge.
data.verification.channel
data.verification.expires_at
data.verification.refPublic stable resource reference.
201 Created
Refreshed authenticated session.
{
"data": {}
}data
data.sessionAuthenticated session continuation payload.
data.verificationSignature or signing authentication verification challenge.
data.verification.channel
data.verification.expires_at
data.verification.refPublic stable resource reference.
202 Response
Verification challenge for authentication completion.
{
"data": {}
}data
data.sessionAuthenticated session continuation payload.
data.verificationSignature or signing authentication verification challenge.
data.verification.channel
data.verification.expires_at
data.verification.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