Core resources
Bulk send
One template sent to a list of people, one envelope each: check the list, then send it in batches.
List bulk sends
GET/api/v1/bulk-sends
The caller's bulk sends, newest first, without rows (every member's for an administrator or a member who sees every envelope)
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.read · OAuth scope envelopes:read
Query parameters
limitinteger
Returns
200 with application/json.
curl
curl https://sign.example.com/api/v1/bulk-sends?limit=20 \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.listBulkSends({
limit: 20,
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.list_bulk_sends(
limit=20,
){
"items": [
{
"id": "0193bf83-48b4-7107-8daa-acf154ae780e",
"name": "November renewals",
"template_id": "01935cde-0f12-798f-841f-7d1c8b907a36",
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"status": "queued",
"row_count": 1,
"counts": {
"pending": 1,
"sent": 1,
"failed": 1,
"cancelled": 1
},
"created_at": "2026-11-20T09:30:00Z",
"finished_at": "2026-11-20T09:30:00Z"
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.read |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Create bulk send
POST/api/v1/bulk-sends
Check a list of recipient sets against a template, and make a bulk send of it
The list is CSV text (a header, then one row per envelope) or JSON rows; its columns are two per template role, in role order: <role>::name and <role>::email, matched ignoring case and surrounding spaces. A header that does not fit the template is 422 (CS-BLK-0004 missing columns at /columns, CS-BLK-0005 an unknown or repeated column at /columns/{i}); no row, more than 1000, or CSV that cannot be read is 422 CS-BLK-0007. Each row is checked: CS-BLK-0001 a missing value, CS-BLK-0002 an email that cannot be one, CS-BLK-0003 a name over 255 characters or with control characters, CS-BLK-0006 more values than columns. A row with a problem is stored failed and never sent. With validate_only nothing is stored: the answer is 200 with each row's check. Send the batch with POST …/send. Also needs envelopes:write and envelopes:send, as POST /envelopes with status: sent does. A line with no value in any cell is skipped.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionbulk.send · OAuth scope bulk:send
Request body
Content type application/json · required
A template of the caller's account with a document and a role
namestringDefaults to the template's name
csvstringThe list as CSV text; exactly one of csv and rows
rowsarray of objectvalidate_onlyboolean
Returns
200 validate_only: each row's check; nothing stored with a BulkSendCheck object.
Limits
- Bulk send list (
POST /bulk-sends,UXW-04): rows; values; rows sent per…/sendcall: 1–1,000 in the 1 MiB body (CSV or JSON); name 1–255 characters without control characters, email 3–320 bytes with one@and no spaces; 10
curl
curl -X POST https://sign.example.com/api/v1/bulk-sends \
-H "Authorization: Bearer $OPENSEAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"template_id": "01935cde-0f12-798f-841f-7d1c8b907a36",
"name": "November renewals",
"csv": "name,email\nExample Signer,[email protected]\n",
"rows": [
{
"key": "Example Corp"
}
],
"validate_only": false
}'TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.createBulkSend({
body: {
"template_id": "01935cde-0f12-798f-841f-7d1c8b907a36",
"name": "November renewals",
"csv": "name,email\nExample Signer,[email protected]\n",
"rows": [
{
"key": "Example Corp"
}
],
"validate_only": false
},
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.create_bulk_send(
body={
"template_id": "01935cde-0f12-798f-841f-7d1c8b907a36",
"name": "November renewals",
"csv": 'name,email\nExample Signer,[email protected]\n',
"rows": [
{
"key": "Example Corp",
},
],
"validate_only": False,
},
){
"columns": [
"example"
],
"row_count": 1,
"valid": 1,
"rows": [
{
"row": 1,
"status": "sent",
"envelope_id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"error_code": "example",
"recipients": [
{
"role": "signer",
"name": "November renewals",
"email": "[email protected]"
}
],
"problems": [
{
"column": "example",
"code": "123456"
}
]
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks bulk.send |
| 413 | CS-API-0006 | The request body is over its limit |
| 415 | CS-API-0007 | The body is not application/json |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Get bulk send
GET/api/v1/bulk-sends/{id}
A bulk send: its progress counts and every row
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionenvelopes.read · OAuth scope envelopes:read
Path parameters
A bulk send the caller may see (another member's or account's is 404)
Returns
200 with a BulkSendWithRows object.
curl
curl https://sign.example.com/api/v1/bulk-sends/0193bf83-48b4-7107-8daa-acf154ae780e \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const data = await os.getBulkSend({
id: "0193bf83-48b4-7107-8daa-acf154ae780e",
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
data = client.get_bulk_send(
id="0193bf83-48b4-7107-8daa-acf154ae780e",
){
"id": "0193bf83-48b4-7107-8daa-acf154ae780e",
"name": "November renewals",
"template_id": "01935cde-0f12-798f-841f-7d1c8b907a36",
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"status": "queued",
"row_count": 1,
"counts": {
"pending": 1,
"sent": 1,
"failed": 1,
"cancelled": 1
},
"created_at": "2026-11-20T09:30:00Z",
"finished_at": "2026-11-20T09:30:00Z",
"rows": [
{
"row": 1,
"status": "sent",
"envelope_id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"error_code": "example",
"recipients": [
{
"role": "signer",
"name": "November renewals",
"email": "[email protected]"
}
],
"problems": [
{
"column": "example",
"code": "123456"
}
]
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks envelopes.read |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Send bulk send rows
POST/api/v1/bulk-sends/{id}/send
Send the next pending rows, at most 10, one envelope each; repeat until none is pending
Each row is made and sent as POST /envelopes makes and sends one, in its own transaction; a row the server refuses is failed with the refusal's code and the others go on. Once no row is pending the bulk send is completed. Only its sender sends it (403 otherwise). Also needs envelopes:write and envelopes:send.
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionbulk.send · OAuth scope bulk:send
Path parameters
One of the caller's own bulk sends
Returns
200 with a BulkSendWithRows object.
curl
curl -X POST https://sign.example.com/api/v1/bulk-sends/0193bf83-48b4-7107-8daa-acf154ae780e/send \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.sendBulkSendRows({
id: "0193bf83-48b4-7107-8daa-acf154ae780e",
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.send_bulk_send_rows(
id="0193bf83-48b4-7107-8daa-acf154ae780e",
){
"id": "0193bf83-48b4-7107-8daa-acf154ae780e",
"name": "November renewals",
"template_id": "01935cde-0f12-798f-841f-7d1c8b907a36",
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"status": "queued",
"row_count": 1,
"counts": {
"pending": 1,
"sent": 1,
"failed": 1,
"cancelled": 1
},
"created_at": "2026-11-20T09:30:00Z",
"finished_at": "2026-11-20T09:30:00Z",
"rows": [
{
"row": 1,
"status": "sent",
"envelope_id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"error_code": "example",
"recipients": [
{
"role": "signer",
"name": "November renewals",
"email": "[email protected]"
}
],
"problems": [
{
"column": "example",
"code": "123456"
}
]
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks bulk.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.
Cancel bulk send
POST/api/v1/bulk-sends/{id}/cancel
Cancel a bulk send: its pending rows are not sent; sent envelopes stay (409 CS-WF-0001 once finished)
AuthAPI key or OAuth access token (Authorization: Bearer), or a staff session
Permissionbulk.send · OAuth scope bulk:send
Path parameters
A bulk send of the caller's (or, for an administrator, any)
Returns
200 with a BulkSendWithRows object.
curl
curl -X POST https://sign.example.com/api/v1/bulk-sends/0193bf83-48b4-7107-8daa-acf154ae780e/cancel \
-H "Authorization: Bearer $OPENSEAL_API_KEY"TypeScript
import { OpenSeal } from "@openseal/sdk";
const os = new OpenSeal({ baseUrl: "https://sign.example.com", apiKey: process.env.OPENSEAL_API_KEY });
const result = await os.cancelBulkSend({
id: "0193bf83-48b4-7107-8daa-acf154ae780e",
});Python
import os
from openseal import OpenSeal
client = OpenSeal("https://sign.example.com", api_key=os.environ["OPENSEAL_API_KEY"])
result = client.cancel_bulk_send(
id="0193bf83-48b4-7107-8daa-acf154ae780e",
){
"id": "0193bf83-48b4-7107-8daa-acf154ae780e",
"name": "November renewals",
"template_id": "01935cde-0f12-798f-841f-7d1c8b907a36",
"sender_user_id": "01934e90-2366-76cd-8713-26baacdbd84e",
"status": "queued",
"row_count": 1,
"counts": {
"pending": 1,
"sent": 1,
"failed": 1,
"cancelled": 1
},
"created_at": "2026-11-20T09:30:00Z",
"finished_at": "2026-11-20T09:30:00Z",
"rows": [
{
"row": 1,
"status": "sent",
"envelope_id": "01934c50-3ca6-7776-81e5-c4aaecfe9962",
"error_code": "example",
"recipients": [
{
"role": "signer",
"name": "November renewals",
"email": "[email protected]"
}
],
"problems": [
{
"column": "example",
"code": "123456"
}
]
}
]
}Errors this can answer
| Status | Code | When |
|---|---|---|
| 400 / 422 | CS-API-0001 | Malformed request: a parameter or member is missing, unknown or out of range; errors[] points at it |
| 401 | CS-AUTH-0001 | No credential, or one that is expired or revoked (CS-AUTH-0002) |
| 403 | CS-AUTH-0006 | The credential lacks bulk.send |
| 404 | CS-API-0002 | No such object, or one of another account (answered alike) |
| 429 | CS-API-0003 | Rate limited: wait for Retry-After seconds |
Every error is an RFC 9457 problem with a stable code and a request_id; see Errors.