API reference

API reference

Every endpoint of the signrs API, with the requests and responses the server accepts. Generated from the same schemas the server validates against.

Base URL

Base URL
https://api.signrs.com/api/v1

Requests and responses are JSON. Send an Idempotency-Key header to make a retry safe.

Authentication

Every request carries a bearer token. Each operation below says which kind it takes.

API token
An organisation API token. Scopes are per-operation.
Signing session
A signing session token, obtained from POST /sign/session by exchanging the party token from the invitation link. Carries no scopes: the session is the authorisation.
Sender session
A sender session token, obtained from POST /auth/login or POST /auth/register. A third authentication domain, separate from both the API token and the signing session: it belongs to a person at a browser rather than to a program calling the API. Its authority comes from the holder's organisation role rather than from a stored scope list, so a role changed in the admin UI takes effect on the next request .

Errors

An error response carries a stable code, a message for people, and a docs link to that code's page.

All error codes

OpenAPI

The whole API as an OpenAPI 3.1 document, for client generators, Postman and the like.

Download openapi.json

Areas

61 operations in all.