Start here
The API is at https://api.bsign.ca/v1. JSON in and out, times in ISO 8601 UTC.
- In bSign, open Settings > API & webhooks and create a token. It's shown once: keep it like a password.
- Send it with every request as
Authorization: Bearer <token>. - Check it works:
curl https://api.bsign.ca/v1/me \
-H "Authorization: Bearer bsign_..."
{ "id": "fL3S02MVAQ", "name": "Jordan Office", "email": "jordan@example.com",
"site": { "id": "ATCuMMWmob", "name": "Example Dental" } }
A token acts as the person who made it. Make one per integration so each can be revoked. Tokens last a year at most.
Send from a template
Set the document up once as a template, with a role for each recipient (Client, Manager…). Then:
GET /templateslists your templates.GET /templates/{id}shows one's roles and fields.POST /templates/{id}/sendsends it. Give someone for each open role, and field values by name.
curl -X POST https://api.bsign.ca/v1/templates/T9x8Y7w6V5/send \
-H "Authorization: Bearer bsign_..." \
-H "Content-Type: application/json" \
-d '{
"reference": "Q-11520",
"recipients": [
{ "role": "Client", "name": "Jane Client", "email": "jane@acmedental.example" }
],
"fields": {
"Company name": "Acme Dental",
"Start date": "2026-10-01",
"Plan": "Business"
}
}'
The answer is the new document (201 Created). In fields:
- Before-sending fields are drawn into the document. Required ones must be given.
- A recipient's fields start with the value, and they can change it.
"Client::Job title"picks one role's field. - Dates as
2026-10-01, checkboxes as a list, dropdowns and radio buttons as one choice.
Also: name, note, expiresInDays (1 to 365), sendInOrder, and sendEmails: false to get signing links back instead of emails. Problems come back as 422, all listed.
Follow documents
GET /documentslists what you sent, newest changes first. Filter bystatus(in_progress,completed,declined,voided,expired,draft),reference,templateId,searchorupdatedSince.GET /documents/{id}has each recipient's status (sent,viewed,signed,waiting…).GET /documents/{id}/fileis the PDF, sealed once completed;/certificateis its certificate.POST /documents/{id}/remindnudges whoever still has to sign.POST /documents/{id}/voidstops it, with areason.GET /documents/{id}/historyis what happened to it.
Webhooks
Add a webhook in Settings > API & webhooks or with POST /webhooks, and bSign POSTs each event to you:
{
"id": "Xb3kQ9pLmN",
"event": "document.completed",
"createdAt": "2026-09-29T16:20:00.000Z",
"document": { "id": "a1B2c3D4e5", "name": "Managed Services Agreement",
"reference": "Q-11520", "status": "completed" },
"actor": { "name": "Jane Client", "email": "jane@acmedental.example", "role": "recipient" }
}
The events: document.sent, viewed, signed, approved, declined, voided, completed, recipient_changed, reminder_sent, expiry_notice, expiry_extended, corrected, skipped and paper_copy. Failed deliveries are retried after 30 seconds and 2 minutes, with the same id.
Each delivery is signed in the X-bSign-Signature header: t=<unix time>,v1=<HMAC-SHA256 of "t.body">. Check it first:
// Node.js, with the raw request body
const crypto = require("crypto");
const [t, v1] = req.get("X-bSign-Signature").split(",").map((p) => p.split("=")[1]);
const expected = crypto.createHmac("sha256", process.env.BSIGN_WEBHOOK_SECRET)
.update(`${t}.${rawBody}`).digest("hex");
const valid = v1.length === expected.length
&& crypto.timingSafeEqual(Buffer.from(v1), Buffer.from(expected))
&& Math.abs(Date.now() / 1000 - Number(t)) < 300; // not an old replay
Or ask: GET /events?type=document.completed lists the latest events.
All endpoints
| Request | What it does |
|---|---|
GET/me | Who the token belongs to |
GET/templates | Your templates |
GET/templates/{id} | A template's roles and fields |
GET/templates/{id}/schema | Its send request as a JSON Schema |
POST/templates/{id}/send | Send a document from it |
GET/documents | Your documents, with filters |
GET/documents/{id} | A document and its recipients |
GET/documents/{id}/file | Its PDF |
GET/documents/{id}/certificate | Its completion certificate |
GET/documents/{id}/history | What happened to it |
POST/documents/{id}/remind | Remind whoever still has to sign |
POST/documents/{id}/void | Void it, with a reason |
GET/events | The latest events |
GET/webhooks | Your webhooks |
POST/webhooks | Add one (url, events) |
DELETE/webhooks/{id} | Remove one |
Every field is in the OpenAPI file, api.bsign.ca/v1/openapi.json, for Postman, Insomnia or a code generator.
Errors and limits
Errors come back as { "error": { "code", "message" } }, with details.problems when there are several:
401no token, or revoked or expired;404not found, or not yours;409not possible now;422something missing or wrong;402the plan's allowance is used up;429too many: 300 requests a minute per token, 200 documents every 10 minutes.
Power Automate
Add bSign to Power Automate as a custom connector in your own Microsoft 365. Flows send from your templates, start on signing events and file the signed PDF.
- In bSign, open Settings > API & webhooks and create a token named "Power Automate". Flows act as you.
- Download bSign's connector definition and its icon.
- In make.powerautomate.com, open Data > Custom connectors > New custom connector > Import an OpenAPI file, name it bSign and choose the definition. On General, upload the icon and set the background colour to
#1758c9, then Create connector. - On Test, add a connection and paste your token. The trigger and actions (Send document from template, Download document PDF…) are now in your flows.
Command line? The connector as a zip works with Microsoft's paconn (paconn create --settings settings.json). Share it with colleagues from Power Automate.
Zapier
bSign's Zapier app starts Zaps on document events and sends from your templates as a step in any Zap.
- Open bSign's Zapier invitation and accept it with your Zapier account.
- In bSign, open Settings > API & webhooks and create a token named "Zapier". Zaps act as you.
- In a Zap, choose bSign as a trigger or an action and paste the token when Zapier asks to connect.
bSign is invitation-only in Zapier while Zapier reviews it for their directory.
Questions, or an integration you'd like us to build? support@bsign.ca