Skip to main content

API reference

Complete reference for the SignersChoice Public API, generated from the OpenAPI specification and regenerated on every documentation build — so request and response shapes always match the API.

22Endpoints
7Resource groups
14Scopes in use
v1Version

Endpoint groups​

Authentication​

Exchange client credentials for a bearer token. The only endpoint, apart from health, that does not require a token.

Teams​

List the active teams of your organization. Requires Teams.List.

Users​

Search the active users of your organization — the IDs you send as X-Sender-Id. Requires Users.Search.

Files​

Create, list, update, transition and delete files, read their activity log and manage the teams they are shared with.

Participants​

List, add, update and remove the participants of a file.

Documents​

Upload documents to a file, list them and get download links.

Service health​

Liveness and readiness probes for the API and its upstream dependencies. No authentication required.

Every endpoint​

MethodPathScopeDescription
POST/v1/auth/token—Exchange client credentials for an access token
GET/v1/teamsTeams.ListList the active teams of your organization
GET/v1/usersUsers.SearchSearch the active users of your organization
POST/v1/filesFiles.CreateCreate a file
GET/v1/filesFiles.ListList and search files
GET/v1/files/{fileId}Files.RetrieveGet a file with all its details
PUT/v1/files/{fileId}Files.UpdateUpdate a file
DELETE/v1/files/{fileId}Files.CancelDelete a file
POST/v1/files/{fileId}/transitionFiles.Update ¹Complete, cancel, reopen or restore a file
GET/v1/files/{fileId}/action-eligibilityFiles.RetrieveWhich status changes are currently allowed
GET/v1/files/{fileId}/activitiesFiles.RetrieveActivity log of a file
PUT/v1/files/{fileId}/teamsTeams.ShareFilesReplace the teams a file is shared with
GET/v1/files/{fileId}/participantsFiles.RetrieveGet the participants of a file
POST/v1/files/{fileId}/participantsParticipants.AddAdd a participant
PUT/v1/files/{fileId}/participants/{participantId}Participants.UpdateUpdate a participant
DELETE/v1/files/{fileId}/participants/{participantId}Participants.RemoveRemove a participant
GET/v1/files/{fileId}/documentsDocuments.ListGet the documents of a file
POST/v1/files/{fileId}/documentsDocuments.UploadUpload documents
POST/v1/files/{fileId}/documents/downloadDocuments.DownloadGet download links
GET/health—Is the API running?
GET/health/user/liveness—Is the upstream user service running?
GET/health/user/ready—Is the upstream user service ready?

¹ Files.Cancel for the cancel action, Files.Update for the others.

Conventions​

Authentication. Every endpoint except authentication and health requires Authorization: Bearer <token>. See Authentication.

Sender. Every authenticated endpoint also requires an X-Sender-Id header: the ID of the user the request is made on behalf of (find it with GET /v1/users). The request is attributed to that user and is subject to their permissions — for example, only a file's owner, a team manager or an org admin can change the teams a file is shared with.

Organization scoping. Your organization is read from the token's organization_id claim. No endpoint accepts an organization parameter, and none can return another organization's data — a resource of another organization is reported as 404 Not Found.

Content type. Requests and responses are application/json, except document uploads which use multipart/form-data. Property names are camelCase.

Success envelope. Successful responses include success and an optional message alongside the endpoint's own fields.

Errors. Every failure returns the same envelope — { "success": false, "error": { "status", "code", "message", "details", "traceId", "timestamp" } }. Branch on error.code. See Errors.

Trying an endpoint​

Each endpoint page has a console. Paste a token into the Auth panel, fill in the X-Sender-Id header, choose an environment from the server list, and send a real request. Code samples update to match what you enter, in curl, C#, Node.js, Python, Java and PowerShell.

Machine-readable specification​

The full OpenAPI 3.0 document is available for import into Postman, Insomnia or a client generator:

Download public-api-v1.json