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
https://api.signrs.com/api/v1Requests 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.
OpenAPI
The whole API as an OpenAPI 3.1 document, for client generators, Postman and the like.
Areas
- EnvelopesCreate, read, update, copy, transfer, cancel and delete envelopes.12 operations
- Documents and uploadsUpload a PDF, attach it to an envelope, rename, remove or download it.4 operations
- FieldsPlace, move and remove signature and text fields, prefill them, and read what was entered.5 operations
- PartiesAdd, change and remove the people on an envelope.3 operations
- SendingPrepare and send an envelope, resend an invitation, get a signing link, extend or decline for a party.6 operations
- Signing sessionsWhat the signing page calls: exchange a signing link, read the document, fill fields, sign or decline.12 operations
- Audit and evidenceRead and export the audit trail, build the evidence package, and verify a document.4 operations
- Events and jobsFollow what happened across your envelopes, and the progress of long-running work.2 operations
- AuthenticationSessions for people at a browser: sign in, sign out, change a password.7 operations
- Instance administrationFor whoever runs a deployment: claim it, and configure mail, storage and timestamping.6 operations
61 operations in all.