REST API · v1

API reference

Every endpoint, with the fields it takes, what it returns and the errors it can answer. New to the API? Start with the quickstart.

Base URLhttps://rowscribe.com/api/v1
AuthenticationX-API-Key: rsc_…
FormatJSON, UTF-8. Uploads as multipart/form-data.

Every endpoint, ready to send: set the apiKey variable to your key. Using other tools? Import the OpenAPI document into Insomnia or a client generator.

Account

Check a key: its scopes, its workspace and plan, and the documents left this period.

Endpoints
GET /me

Retrieve the current key

GET /me

The key, its creator, its workspace and plan, and the documents left this period.

Any valid key, whatever its scopes.

Returns

200 OK.
Response fields 23
  • workspace objectrequired
  • id string (uuid)required
  • name stringrequired
  • plan stringrequired
  • user objectrequired
  • id string (uuid)required
  • name stringrequired
  • email stringrequired
  • role stringrequired
    The key creator's role in the workspace: owner, admin or member.
  • key objectrequired
  • id string (uuid)required
  • name stringrequired
  • prefix stringrequired
  • scopes array of stringsrequired
    What this key may do.
  • expiresAt string (date-time)required
  • allowance objectrequired
  • documentsIncluded integerrequired
    The plan's monthly documents; null when unlimited.
  • documentsUsed integerrequired
    Used against the monthly allowance this period.
  • documentsRemaining integerrequired
  • packDocumentsRemaining integerrequired
    Documents left in one-time packs, used after the allowance.
  • nextPackExpiryAt string (date-time)required
  • periodStart string (date-time)required
  • periodEnd string (date-time)required

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/me" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "workspace": {
    "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
    "name": "Monthly invoices",
    "plan": "pro"
  },
  "user": {
    "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
    "name": "John Smith",
    "email": "john.smith@example.com",
    "role": "admin"
  },
  "key": {
    "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
    "name": "Invoicing integration",
    "prefix": "rsc_3f9a",
    "scopes": [
      "jobs:write",
      "templates:read"
    ],
    "expiresAt": null
  },
  "allowance": {
    "documentsIncluded": 1000,
    "documentsUsed": 240,
    "documentsRemaining": 760,
    "packDocumentsRemaining": 0,
    "nextPackExpiryAt": null,
    "periodStart": "2026-11-03T14:30:00Z",
    "periodEnd": "2026-11-03T14:30:00Z"
  }
}

List jobs

GET /jobs

The workspace's jobs, newest first.

Requires scope jobs:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 20
    Results per page.
  • search string
    Filters the results by this text.
  • status string
    pending, scheduled, processing, completed, failed or cancelled.
  • from string (date-time)
    Only jobs created on or after this day (UTC).
  • to string (date-time)
    Only jobs created on or before this day (UTC).

Returns

200 OK.
Response fields 20
  • data array of objectsrequired
  • id string (uuid)required
  • status stringrequired
  • templateName stringrequired
  • templateType stringrequired
  • deliveryMethod stringrequired
  • origin stringrequired
  • apiKeyName stringrequired
  • totalRows integerrequired
  • processedRows integerrequired
  • failedRows integerrequired
  • createdAt string (date-time)required
  • completedAt string (date-time)required
  • scheduledFor string (date-time)required
  • scheduleId string (uuid)required
  • outputsExpired booleanrequired
  • createdByUserId string (uuid)required
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "status": "completed",
      "templateName": "Monthly invoices",
      "templateType": "pdf",
      "deliveryMethod": "download",
      "origin": "api",
      "apiKeyName": null,
      "totalRows": 2,
      "processedRows": 2,
      "failedRows": 0,
      "createdAt": "2026-11-03T14:30:00Z",
      "completedAt": "2026-11-03T14:30:00Z",
      "scheduledFor": null,
      "scheduleId": null,
      "outputsExpired": false,
      "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Create a job

POST /jobs

Creates a job from rows in the body, or from a dataset, URL or Google Sheet.

Requires scope jobs:write

Bodyapplication/json

  • templateId string (uuid)required
    The PDF or email template to fill.
  • rows array of objects
    One object per document, keyed by column name. Leave out when `source` is set.
  • source object
    Where rows come from instead of the request body.
  • type stringrequired
    dataset, url or google_sheet. Fill in the matching field.
  • datasetId string (uuid)
    For dataset: the stored dataset to read.
  • url object
    Rows fetched from a URL when the job (or each schedule run) starts.
  • url stringrequired
    An http or https URL. On a schedule it may use {{ run_date:yyyy-MM-dd }}, {{ previous_month }}, {{ year }}, {{ month }} and {{ day }}, worked out in the schedule's timezone.
  • format stringdefault csv
    csv, json or xlsx.
  • jsonRowsPath string
    For json: the dotted path to the array of rows, e.g. "data.items". The top level when left out.
  • sheetName string
    For xlsx: the worksheet to read; the first when left out.
  • headers map of string
    Extra request headers. Their values are never returned.
  • bearerToken string
    Write-only: sent as Authorization: Bearer, never returned. On a schedule update, leaving it out removes the stored token.
  • timeoutSeconds integerdefault 30
    How long to wait for the URL, 1 to 120 seconds; values outside are clamped.
  • googleSheet object
    A spreadsheet in a Google account the key's creator has connected in the app.
  • connectedAccountId string (uuid)required
    The Google account, from GET /workspace/connected-accounts.
  • spreadsheetId stringrequired
    The id in the sheet's URL, between /d/ and /edit.
  • sheetName string
    The tab to read; the first when left out.
  • firstRowHeaders booleandefault true
    The first row names the columns.
  • delivery object
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • exportOptions object
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.
  • scheduledFor string (date-time)
    Start at this time (UTC) instead of now.
  • columnMapping map of string
    Template field → data column, for data whose columns are named differently.
  • timezone string
    IANA timezone for the date tags in a URL source; UTC when left out.

Returns

201 Created. The Location header points at the new item.
Response fields 35
  • id string (uuid)required
  • status stringrequired
    pending, scheduled, processing, completed, failed or cancelled.
  • templateId string (uuid)required
  • templateName stringrequired
  • templateType stringrequired
    pdf or email.
  • attachmentTemplateId string (uuid)required
  • origin stringrequired
    immediate, scheduled_once, from_schedule or api.
  • apiKeyName stringrequired
    The key that created the job, when an API key did.
  • totalRows integerrequired
    Documents in the job.
  • processedRows integerrequired
    Rows finished so far, including failed ones.
  • failedRows integerrequired
    Rows that failed. A failed row is never counted.
  • documentsCounted integerrequired
    Documents the job counted, including any covered by document packs.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • createdAt string (date-time)required
  • completedAt string (date-time)required
  • scheduledFor string (date-time)required
  • error stringrequired
  • scheduleId string (uuid)required
    The schedule that made the job, if one did.
  • jobsAhead integerrequired
    While waiting: how many jobs start before this one.
  • cancellationRequested booleanrequired
  • sourceFileName stringrequired
  • createdByUserId string (uuid)required
  • downloadUrl string
    Where to GET the output with your key once the job has completed: one PDF, or a ZIP. Null until then, and for a job with no file: an email-template job sent from a connected mailbox with no PDF attached, or output deleted under retention.

Errors

400missing_merge_field400row_cap_exceeded400recipient_not_verified400connection_expired400endpoint_not_found400endpoint_paused402allowance_exceeded429concurrent_job_limit503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/jobs" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "delivery": {
    "method": "download"
  }
}'
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "status": "completed",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "templateType": "pdf",
  "attachmentTemplateId": null,
  "origin": "api",
  "apiKeyName": null,
  "totalRows": 2,
  "processedRows": 2,
  "failedRows": 0,
  "documentsCounted": 2,
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "createdAt": "2026-11-03T14:30:00Z",
  "completedAt": "2026-11-03T14:30:00Z",
  "scheduledFor": null,
  "error": null,
  "scheduleId": null,
  "jobsAhead": 0,
  "cancellationRequested": false,
  "sourceFileName": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "downloadUrl": "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/download"
}

Retrieve a job

GET /jobs/{id}

One job: its status, progress, place in the queue and what it counted.

Requires scope jobs:read

Path parameters

  • id string (uuid)required
    The job's id.

Returns

200 OK.
Response fields 35
  • id string (uuid)required
  • status stringrequired
    pending, scheduled, processing, completed, failed or cancelled.
  • templateId string (uuid)required
  • templateName stringrequired
  • templateType stringrequired
    pdf or email.
  • attachmentTemplateId string (uuid)required
  • origin stringrequired
    immediate, scheduled_once, from_schedule or api.
  • apiKeyName stringrequired
    The key that created the job, when an API key did.
  • totalRows integerrequired
    Documents in the job.
  • processedRows integerrequired
    Rows finished so far, including failed ones.
  • failedRows integerrequired
    Rows that failed. A failed row is never counted.
  • documentsCounted integerrequired
    Documents the job counted, including any covered by document packs.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • createdAt string (date-time)required
  • completedAt string (date-time)required
  • scheduledFor string (date-time)required
  • error stringrequired
  • scheduleId string (uuid)required
    The schedule that made the job, if one did.
  • jobsAhead integerrequired
    While waiting: how many jobs start before this one.
  • cancellationRequested booleanrequired
  • sourceFileName stringrequired
  • createdByUserId string (uuid)required
  • downloadUrl string
    Where to GET the output with your key once the job has completed: one PDF, or a ZIP. Null until then, and for a job with no file: an email-template job sent from a connected mailbox with no PDF attached, or output deleted under retention.

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "status": "completed",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "templateType": "pdf",
  "attachmentTemplateId": null,
  "origin": "api",
  "apiKeyName": null,
  "totalRows": 2,
  "processedRows": 2,
  "failedRows": 0,
  "documentsCounted": 2,
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "createdAt": "2026-11-03T14:30:00Z",
  "completedAt": "2026-11-03T14:30:00Z",
  "scheduledFor": null,
  "error": null,
  "scheduleId": null,
  "jobsAhead": 0,
  "cancellationRequested": false,
  "sourceFileName": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "downloadUrl": "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/download"
}

Delete a job

DELETE /jobs/{id}

Deletes a finished job, its data and its files. Its documents still count this period.

Requires scope jobs:write

Path parameters

  • id string (uuid)required
    The job's id.

Returns

204 No Content

Errors

Only the errors any change can answer.

curl -X DELETE "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
204 No content.

Retrieve job limits

GET /jobs/limits

What a job has to fit inside: the row cap, the per-key limits and the documents left.

Requires scope jobs:read

Returns

200 OK.
Response fields 14
  • maxRowsPerJob integerrequired
  • maxActiveJobsPerKey integerrequired
    Jobs one key may have queued or running at once. Jobs set for a later time don't count.
  • rateLimits objectrequired
    Requests a minute, per key.
  • requests integerrequired
  • previews integerrequired
  • documents integerrequired
  • allowance objectrequired
  • documentsIncluded integerrequired
    The plan's monthly documents; null when unlimited.
  • documentsUsed integerrequired
    Used against the monthly allowance this period.
  • documentsRemaining integerrequired
  • packDocumentsRemaining integerrequired
    Documents left in one-time packs, used after the allowance.
  • nextPackExpiryAt string (date-time)required
  • periodStart string (date-time)required
  • periodEnd string (date-time)required

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs/limits" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "maxRowsPerJob": 0,
  "maxActiveJobsPerKey": 0,
  "rateLimits": {
    "requests": 0,
    "previews": 0,
    "documents": 0
  },
  "allowance": {
    "documentsIncluded": 1000,
    "documentsUsed": 240,
    "documentsRemaining": 760,
    "packDocumentsRemaining": 0,
    "nextPackExpiryAt": null,
    "periodStart": "2026-11-03T14:30:00Z",
    "periodEnd": "2026-11-03T14:30:00Z"
  }
}

Create a job from a file

POST /jobs/upload

Creates a job from an uploaded CSV, XLSX or JSON file (multipart/form-data).

Requires scope jobs:write

Form fieldsmultipart/form-data

  • file filerequired
  • templateId string (uuid)required
  • delivery string
  • exportOptions string
  • columnMapping string
  • sheetName string
  • scheduledFor string (date-time)

Returns

201 Created. The Location header points at the new item.
Response fields 35
  • id string (uuid)required
  • status stringrequired
    pending, scheduled, processing, completed, failed or cancelled.
  • templateId string (uuid)required
  • templateName stringrequired
  • templateType stringrequired
    pdf or email.
  • attachmentTemplateId string (uuid)required
  • origin stringrequired
    immediate, scheduled_once, from_schedule or api.
  • apiKeyName stringrequired
    The key that created the job, when an API key did.
  • totalRows integerrequired
    Documents in the job.
  • processedRows integerrequired
    Rows finished so far, including failed ones.
  • failedRows integerrequired
    Rows that failed. A failed row is never counted.
  • documentsCounted integerrequired
    Documents the job counted, including any covered by document packs.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • createdAt string (date-time)required
  • completedAt string (date-time)required
  • scheduledFor string (date-time)required
  • error stringrequired
  • scheduleId string (uuid)required
    The schedule that made the job, if one did.
  • jobsAhead integerrequired
    While waiting: how many jobs start before this one.
  • cancellationRequested booleanrequired
  • sourceFileName stringrequired
  • createdByUserId string (uuid)required
  • downloadUrl string
    Where to GET the output with your key once the job has completed: one PDF, or a ZIP. Null until then, and for a job with no file: an email-template job sent from a connected mailbox with no PDF attached, or output deleted under retention.

Errors

400missing_merge_field400row_cap_exceeded400recipient_not_verified400connection_expired400endpoint_not_found400endpoint_paused402allowance_exceeded429concurrent_job_limit503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/jobs/upload" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -F "file=@data.csv" \
  -F "templateId=8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40"
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "status": "completed",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "templateType": "pdf",
  "attachmentTemplateId": null,
  "origin": "api",
  "apiKeyName": null,
  "totalRows": 2,
  "processedRows": 2,
  "failedRows": 0,
  "documentsCounted": 2,
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "createdAt": "2026-11-03T14:30:00Z",
  "completedAt": "2026-11-03T14:30:00Z",
  "scheduledFor": null,
  "error": null,
  "scheduleId": null,
  "jobsAhead": 0,
  "cancellationRequested": false,
  "sourceFileName": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "downloadUrl": "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/download"
}

Create emails with PDF attachments

POST /jobs/combined

Emails from an email template, each with a PDF attachment from a PDF template.

Requires scope jobs:write

Bodyapplication/json

  • emailTemplateId string (uuid)required
    The email template, one email per row.
  • emailRows array of objectsrequired
    The data for each email.
  • attachmentTemplateId string (uuid)required
    The PDF template attached to each email.
  • attachmentRows array of objectsrequired
    The data for each attachment, in the same order as `emailRows`.
  • delivery objectrequired
    How the emails go out, addressed per row: connected_email, from a mailbox the key's creator connected.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • scheduledFor string (date-time)
    Start at this time (UTC) instead of now.

Returns

201 Created. The Location header points at the new item.
Response fields 35
  • id string (uuid)required
  • status stringrequired
    pending, scheduled, processing, completed, failed or cancelled.
  • templateId string (uuid)required
  • templateName stringrequired
  • templateType stringrequired
    pdf or email.
  • attachmentTemplateId string (uuid)required
  • origin stringrequired
    immediate, scheduled_once, from_schedule or api.
  • apiKeyName stringrequired
    The key that created the job, when an API key did.
  • totalRows integerrequired
    Documents in the job.
  • processedRows integerrequired
    Rows finished so far, including failed ones.
  • failedRows integerrequired
    Rows that failed. A failed row is never counted.
  • documentsCounted integerrequired
    Documents the job counted, including any covered by document packs.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • createdAt string (date-time)required
  • completedAt string (date-time)required
  • scheduledFor string (date-time)required
  • error stringrequired
  • scheduleId string (uuid)required
    The schedule that made the job, if one did.
  • jobsAhead integerrequired
    While waiting: how many jobs start before this one.
  • cancellationRequested booleanrequired
  • sourceFileName stringrequired
  • createdByUserId string (uuid)required
  • downloadUrl string
    Where to GET the output with your key once the job has completed: one PDF, or a ZIP. Null until then, and for a job with no file: an email-template job sent from a connected mailbox with no PDF attached, or output deleted under retention.

Errors

400missing_merge_field400row_cap_exceeded400template_grouping_not_allowed400recipient_not_verified400connection_expired400endpoint_not_found400endpoint_paused402allowance_exceeded429concurrent_job_limit503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/jobs/combined" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "emailTemplateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "emailRows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "attachmentTemplateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "attachmentRows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "delivery": {
    "method": "download"
  }
}'
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "status": "completed",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "templateType": "pdf",
  "attachmentTemplateId": null,
  "origin": "api",
  "apiKeyName": null,
  "totalRows": 2,
  "processedRows": 2,
  "failedRows": 0,
  "documentsCounted": 2,
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "createdAt": "2026-11-03T14:30:00Z",
  "completedAt": "2026-11-03T14:30:00Z",
  "scheduledFor": null,
  "error": null,
  "scheduleId": null,
  "jobsAhead": 0,
  "cancellationRequested": false,
  "sourceFileName": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "downloadUrl": "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/download"
}

Validate a job

POST /jobs/validate

A dry run of POST /jobs: the counts, the cost against the allowance, and the data, delivery and allowance problems the job would be refused for. The plan, the start time and the per-key job limit are checked only when the job is created. Nothing is created and nothing is counted.

Requires scope jobs:write

Bodyapplication/json

  • templateId string (uuid)required
    The PDF or email template to fill.
  • rows array of objects
    One object per document, keyed by column name. Leave out when `source` is set.
  • source object
    Where rows come from instead of the request body.
  • type stringrequired
    dataset, url or google_sheet. Fill in the matching field.
  • datasetId string (uuid)
    For dataset: the stored dataset to read.
  • url object
    Rows fetched from a URL when the job (or each schedule run) starts.
  • url stringrequired
    An http or https URL. On a schedule it may use {{ run_date:yyyy-MM-dd }}, {{ previous_month }}, {{ year }}, {{ month }} and {{ day }}, worked out in the schedule's timezone.
  • format stringdefault csv
    csv, json or xlsx.
  • jsonRowsPath string
    For json: the dotted path to the array of rows, e.g. "data.items". The top level when left out.
  • sheetName string
    For xlsx: the worksheet to read; the first when left out.
  • headers map of string
    Extra request headers. Their values are never returned.
  • bearerToken string
    Write-only: sent as Authorization: Bearer, never returned. On a schedule update, leaving it out removes the stored token.
  • timeoutSeconds integerdefault 30
    How long to wait for the URL, 1 to 120 seconds; values outside are clamped.
  • googleSheet object
    A spreadsheet in a Google account the key's creator has connected in the app.
  • connectedAccountId string (uuid)required
    The Google account, from GET /workspace/connected-accounts.
  • spreadsheetId stringrequired
    The id in the sheet's URL, between /d/ and /edit.
  • sheetName string
    The tab to read; the first when left out.
  • firstRowHeaders booleandefault true
    The first row names the columns.
  • delivery object
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • exportOptions object
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.
  • scheduledFor string (date-time)
    Start at this time (UTC) instead of now.
  • columnMapping map of string
    Template field → data column, for data whose columns are named differently.
  • timezone string
    IANA timezone for the date tags in a URL source; UTC when left out.

Returns

200 OK.
Response fields 13
  • valid booleanrequired
  • rows integerrequired
    Documents the job would make (after line items are grouped).
  • sourceLines integerrequired
    Lines in the data, when line items were grouped into documents.
  • documentsRequired integerrequired
  • documentsRemaining integerrequired
  • packDocumentsForThisJob integerrequired
  • hasSufficientCapacity booleanrequired
  • errors array of stringsrequired
  • warnings array of stringsrequired
  • invalidRecipients array of objectsrequired
  • row integerrequired
    The spreadsheet line number, with the header as line 1 (so the first data row is 2). With grouped line items, the document's first line.
  • value stringrequired
  • reason stringrequired

Errors

400connection_expiredplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/jobs/validate" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "delivery": {
    "method": "download"
  }
}'
Response200
{
  "valid": true,
  "rows": 2,
  "sourceLines": null,
  "documentsRequired": 2,
  "documentsRemaining": 760,
  "packDocumentsForThisJob": 0,
  "hasSufficientCapacity": true,
  "errors": [],
  "warnings": [],
  "invalidRecipients": [
    {
      "row": 4,
      "value": "not-an-email",
      "reason": "The address isn't valid."
    }
  ]
}

List a job's events

GET /jobs/{id}/log

The job's progress events, as the app's job page streams them.

Requires scope jobs:read

Path parameters

  • id string (uuid)required
    The job's id.

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 100
    Results per page.

Returns

200 OK.
Response fields 6
  • data array of objectsrequired
  • event stringrequired
    RowCompleted, JobProgress, JobDone or JobFailed.
  • data anyrequired
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/log" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "event": "JobDone",
      "data": {}
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Re-run a job

POST /jobs/{id}/rerun

Runs the job again with the same data and settings, as a new job.

Requires scope jobs:write

Path parameters

  • id string (uuid)required
    The job's id.

Returns

201 Created. The Location header points at the new item.
Response fields 35
  • id string (uuid)required
  • status stringrequired
    pending, scheduled, processing, completed, failed or cancelled.
  • templateId string (uuid)required
  • templateName stringrequired
  • templateType stringrequired
    pdf or email.
  • attachmentTemplateId string (uuid)required
  • origin stringrequired
    immediate, scheduled_once, from_schedule or api.
  • apiKeyName stringrequired
    The key that created the job, when an API key did.
  • totalRows integerrequired
    Documents in the job.
  • processedRows integerrequired
    Rows finished so far, including failed ones.
  • failedRows integerrequired
    Rows that failed. A failed row is never counted.
  • documentsCounted integerrequired
    Documents the job counted, including any covered by document packs.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • createdAt string (date-time)required
  • completedAt string (date-time)required
  • scheduledFor string (date-time)required
  • error stringrequired
  • scheduleId string (uuid)required
    The schedule that made the job, if one did.
  • jobsAhead integerrequired
    While waiting: how many jobs start before this one.
  • cancellationRequested booleanrequired
  • sourceFileName stringrequired
  • createdByUserId string (uuid)required
  • downloadUrl string
    Where to GET the output with your key once the job has completed: one PDF, or a ZIP. Null until then, and for a job with no file: an email-template job sent from a connected mailbox with no PDF attached, or output deleted under retention.

Errors

400row_cap_exceeded400endpoint_not_found400endpoint_paused402allowance_exceeded429concurrent_job_limit503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/rerun" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "status": "completed",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "templateType": "pdf",
  "attachmentTemplateId": null,
  "origin": "api",
  "apiKeyName": null,
  "totalRows": 2,
  "processedRows": 2,
  "failedRows": 0,
  "documentsCounted": 2,
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "createdAt": "2026-11-03T14:30:00Z",
  "completedAt": "2026-11-03T14:30:00Z",
  "scheduledFor": null,
  "error": null,
  "scheduleId": null,
  "jobsAhead": 0,
  "cancellationRequested": false,
  "sourceFileName": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "downloadUrl": "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/download"
}

Cancel a job

POST /jobs/{id}/cancel

Stops a waiting or running job. Documents already made still count.

Requires scope jobs:write

Path parameters

  • id string (uuid)required
    The job's id.

Returns

200 OK.
Response fields 35
  • id string (uuid)required
  • status stringrequired
    pending, scheduled, processing, completed, failed or cancelled.
  • templateId string (uuid)required
  • templateName stringrequired
  • templateType stringrequired
    pdf or email.
  • attachmentTemplateId string (uuid)required
  • origin stringrequired
    immediate, scheduled_once, from_schedule or api.
  • apiKeyName stringrequired
    The key that created the job, when an API key did.
  • totalRows integerrequired
    Documents in the job.
  • processedRows integerrequired
    Rows finished so far, including failed ones.
  • failedRows integerrequired
    Rows that failed. A failed row is never counted.
  • documentsCounted integerrequired
    Documents the job counted, including any covered by document packs.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • createdAt string (date-time)required
  • completedAt string (date-time)required
  • scheduledFor string (date-time)required
  • error stringrequired
  • scheduleId string (uuid)required
    The schedule that made the job, if one did.
  • jobsAhead integerrequired
    While waiting: how many jobs start before this one.
  • cancellationRequested booleanrequired
  • sourceFileName stringrequired
  • createdByUserId string (uuid)required
  • downloadUrl string
    Where to GET the output with your key once the job has completed: one PDF, or a ZIP. Null until then, and for a job with no file: an email-template job sent from a connected mailbox with no PDF attached, or output deleted under retention.

Errors

Only the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/cancel" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "status": "completed",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "templateType": "pdf",
  "attachmentTemplateId": null,
  "origin": "api",
  "apiKeyName": null,
  "totalRows": 2,
  "processedRows": 2,
  "failedRows": 0,
  "documentsCounted": 2,
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "createdAt": "2026-11-03T14:30:00Z",
  "completedAt": "2026-11-03T14:30:00Z",
  "scheduledFor": null,
  "error": null,
  "scheduleId": null,
  "jobsAhead": 0,
  "cancellationRequested": false,
  "sourceFileName": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "downloadUrl": "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/download"
}

Download a job's output

GET /jobs/{id}/download

The finished output: one merged PDF, or a ZIP of the documents.

Requires scope jobs:read

Path parameters

  • id string (uuid)required
    The job's id.

Returns

200 The PDF or ZIP file.

Errors

409job_not_completedplus the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/download" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -o output
200 The PDF or ZIP file, sent as an attachment.

Validate a job from a file

POST /jobs/upload/validate

A dry run of POST /jobs/upload, checking what POST /jobs/validate does.

Requires scope jobs:write

Form fieldsmultipart/form-data

  • file filerequired
  • templateId string (uuid)required
  • delivery string
  • columnMapping string
  • sheetName string

Returns

200 OK.
Response fields 13
  • valid booleanrequired
  • rows integerrequired
    Documents the job would make (after line items are grouped).
  • sourceLines integerrequired
    Lines in the data, when line items were grouped into documents.
  • documentsRequired integerrequired
  • documentsRemaining integerrequired
  • packDocumentsForThisJob integerrequired
  • hasSufficientCapacity booleanrequired
  • errors array of stringsrequired
  • warnings array of stringsrequired
  • invalidRecipients array of objectsrequired
  • row integerrequired
    The spreadsheet line number, with the header as line 1 (so the first data row is 2). With grouped line items, the document's first line.
  • value stringrequired
  • reason stringrequired

Errors

Only the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/jobs/upload/validate" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -F "file=@data.csv" \
  -F "templateId=8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40"
Response200
{
  "valid": true,
  "rows": 2,
  "sourceLines": null,
  "documentsRequired": 2,
  "documentsRemaining": 760,
  "packDocumentsForThisJob": 0,
  "hasSufficientCapacity": true,
  "errors": [],
  "warnings": [],
  "invalidRecipients": [
    {
      "row": 4,
      "value": "not-an-email",
      "reason": "The address isn't valid."
    }
  ]
}

List failed rows

GET /jobs/{id}/failed-rows

The first 500 failed rows by row number, each with its reason and its data (the email row's, for a combined job). Every failed row is in /failed-rows/csv.

Requires scope jobs:read

Path parameters

  • id string (uuid)required
    The job's id.

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 100
    Results per page.

Returns

200 OK.
Response fields 8
  • data array of objectsrequired
  • row integerrequired
    0-based index of the row in the job's data.
  • error stringrequired
  • failedAt string (date-time)required
  • data map of stringrequired
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/failed-rows" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "row": 4,
      "error": null,
      "failedAt": "2026-11-03T14:30:00Z",
      "data": {
        "Name": "John Smith",
        "Email": "john.smith@example.com",
        "Amount": 120
      }
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Download a job's data

GET /jobs/{id}/source-file

The data the job was made from, as the file it arrived in (JSON rows come back as CSV).

Requires scope jobs:read

Path parameters

  • id string (uuid)required
    The job's id.

Returns

200 The CSV file.

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/source-file" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -o output
200 The CSV file, sent as an attachment.

Retry failed rows

POST /jobs/{id}/retry-failed

A new job made of just the rows that failed.

Requires scope jobs:write

Path parameters

  • id string (uuid)required
    The job's id.

Returns

201 Created. The Location header points at the new item.
Response fields 35
  • id string (uuid)required
  • status stringrequired
    pending, scheduled, processing, completed, failed or cancelled.
  • templateId string (uuid)required
  • templateName stringrequired
  • templateType stringrequired
    pdf or email.
  • attachmentTemplateId string (uuid)required
  • origin stringrequired
    immediate, scheduled_once, from_schedule or api.
  • apiKeyName stringrequired
    The key that created the job, when an API key did.
  • totalRows integerrequired
    Documents in the job.
  • processedRows integerrequired
    Rows finished so far, including failed ones.
  • failedRows integerrequired
    Rows that failed. A failed row is never counted.
  • documentsCounted integerrequired
    Documents the job counted, including any covered by document packs.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • createdAt string (date-time)required
  • completedAt string (date-time)required
  • scheduledFor string (date-time)required
  • error stringrequired
  • scheduleId string (uuid)required
    The schedule that made the job, if one did.
  • jobsAhead integerrequired
    While waiting: how many jobs start before this one.
  • cancellationRequested booleanrequired
  • sourceFileName stringrequired
  • createdByUserId string (uuid)required
  • downloadUrl string
    Where to GET the output with your key once the job has completed: one PDF, or a ZIP. Null until then, and for a job with no file: an email-template job sent from a connected mailbox with no PDF attached, or output deleted under retention.

Errors

400row_cap_exceeded400endpoint_not_found400endpoint_paused402allowance_exceeded429concurrent_job_limit503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/retry-failed" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "status": "completed",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "templateType": "pdf",
  "attachmentTemplateId": null,
  "origin": "api",
  "apiKeyName": null,
  "totalRows": 2,
  "processedRows": 2,
  "failedRows": 0,
  "documentsCounted": 2,
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "createdAt": "2026-11-03T14:30:00Z",
  "completedAt": "2026-11-03T14:30:00Z",
  "scheduledFor": null,
  "error": null,
  "scheduleId": null,
  "jobsAhead": 0,
  "cancellationRequested": false,
  "sourceFileName": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "downloadUrl": "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/download"
}

Export failed rows as CSV

GET /jobs/{id}/failed-rows/csv

Every failed row as CSV, with a column for the reason.

Requires scope jobs:read

Path parameters

  • id string (uuid)required
    The job's id.

Returns

200 The CSV file.

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/failed-rows/csv" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -o data.csv
200 The CSV file, sent as an attachment.

Download a job's attachment data

GET /jobs/{id}/attachment-source-file

A combined job's attachment data.

Requires scope jobs:read

Path parameters

  • id string (uuid)required
    The job's id.

Returns

200 The CSV file.

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/attachment-source-file" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -o output
200 The CSV file, sent as an attachment.

Documents

Queue one document from one row, and follow its job like any other.

Create a document

POST /documents

Queues one document from one row and answers at once with its job. Follow the job, or name a webhook endpoint in the delivery to be told when it completes (a failed job sends no event).

Requires scope jobs:write

Bodyapplication/json

  • templateId string (uuid)required
    The template to fill.
  • data objectrequired
    The one row, keyed by column name.
  • delivery object
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • exportOptions object
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.

Returns

202 Queued. The Location header is the job; download it once completed.
Response fields 35
  • id string (uuid)required
  • status stringrequired
    pending, scheduled, processing, completed, failed or cancelled.
  • templateId string (uuid)required
  • templateName stringrequired
  • templateType stringrequired
    pdf or email.
  • attachmentTemplateId string (uuid)required
  • origin stringrequired
    immediate, scheduled_once, from_schedule or api.
  • apiKeyName stringrequired
    The key that created the job, when an API key did.
  • totalRows integerrequired
    Documents in the job.
  • processedRows integerrequired
    Rows finished so far, including failed ones.
  • failedRows integerrequired
    Rows that failed. A failed row is never counted.
  • documentsCounted integerrequired
    Documents the job counted, including any covered by document packs.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • createdAt string (date-time)required
  • completedAt string (date-time)required
  • scheduledFor string (date-time)required
  • error stringrequired
  • scheduleId string (uuid)required
    The schedule that made the job, if one did.
  • jobsAhead integerrequired
    While waiting: how many jobs start before this one.
  • cancellationRequested booleanrequired
  • sourceFileName stringrequired
  • createdByUserId string (uuid)required
  • downloadUrl string
    Where to GET the output with your key once the job has completed: one PDF, or a ZIP. Null until then, and for a job with no file: an email-template job sent from a connected mailbox with no PDF attached, or output deleted under retention.

Errors

400missing_merge_field400recipient_not_verified400connection_expired400endpoint_not_found400endpoint_paused402allowance_exceeded429concurrent_job_limit503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/documents" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "data": {
    "Name": "John Smith",
    "Email": "john.smith@example.com",
    "Amount": 120
  },
  "delivery": {
    "method": "download"
  }
}'
Response202
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "status": "completed",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "templateType": "pdf",
  "attachmentTemplateId": null,
  "origin": "api",
  "apiKeyName": null,
  "totalRows": 2,
  "processedRows": 2,
  "failedRows": 0,
  "documentsCounted": 2,
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "createdAt": "2026-11-03T14:30:00Z",
  "completedAt": "2026-11-03T14:30:00Z",
  "scheduledFor": null,
  "error": null,
  "scheduleId": null,
  "jobsAhead": 0,
  "cancellationRequested": false,
  "sourceFileName": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "downloadUrl": "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/download"
}

List templates

GET /templates

The workspace's templates. `archived=true` lists the archived ones instead.

Requires scope templates:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 20
    Results per page.
  • search string
    Filters the results by this text.
  • archived booleandefault false

Returns

200 OK.
Response fields 12
  • data array of objectsrequired
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • type stringrequired
  • mergeFieldCount integerrequired
    Null for an archived template.
  • archived booleanrequired
  • createdByUserId string (uuid)required
    Null for an archived template.
  • updatedAt string (date-time)required
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/templates" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "name": "Monthly invoices",
      "description": "Sent on the first of each month.",
      "type": "pdf",
      "mergeFieldCount": null,
      "archived": false,
      "createdByUserId": null,
      "updatedAt": "2026-11-03T14:30:00Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Create a template from a starter

POST /templates

A new template from a starter.

Requires scope templates:write

Bodyapplication/json

  • starterKey stringrequired
    From GET /templates/starters.
  • name string
    The new template's name; the starter's when left out.
  • description string

Returns

201 Created. The Location header points at the new item.
Response fields 12
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • type stringrequired
  • orientation stringrequired
  • mergeFields array of stringsrequired
    The {{ tags }} the design uses.
  • dataColumns array of stringsrequired
    The columns a job's data needs — the merge fields, with a grouped line-item list swapped for its item columns.
  • revision integerrequired
    Send it back when you rename the template or restore a version; a stale one answers 409 edit_conflict.
  • importedPdf booleanrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

409limit_reachedplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/templates" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "starterKey": "invoice"
}'
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "type": "pdf",
  "orientation": "portrait",
  "mergeFields": [
    "Name",
    "Email",
    "Amount"
  ],
  "dataColumns": [
    "Name",
    "Email",
    "Amount"
  ],
  "revision": 3,
  "importedPdf": false,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Retrieve a template

GET /templates/{id}

One template: its merge fields, the data columns a job needs, and its revision.

Requires scope templates:read

Path parameters

  • id string (uuid)required
    The template's id.

Returns

200 OK.
Response fields 12
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • type stringrequired
  • orientation stringrequired
  • mergeFields array of stringsrequired
    The {{ tags }} the design uses.
  • dataColumns array of stringsrequired
    The columns a job's data needs — the merge fields, with a grouped line-item list swapped for its item columns.
  • revision integerrequired
    Send it back when you rename the template or restore a version; a stale one answers 409 edit_conflict.
  • importedPdf booleanrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "type": "pdf",
  "orientation": "portrait",
  "mergeFields": [
    "Name",
    "Email",
    "Amount"
  ],
  "dataColumns": [
    "Name",
    "Email",
    "Amount"
  ],
  "revision": 3,
  "importedPdf": false,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Rename a template

PATCH /templates/{id}

Changes the name and description; a description left out is cleared. Never touches the design; makes a version.

Requires scope templates:write

Path parameters

  • id string (uuid)required
    The template's id.

Bodyapplication/json

  • name stringrequired
  • description stringrequired
    Replaces the description; null or left out clears it.
  • revision integerrequired
    The template's revision as you read it.

Returns

200 OK.
Response fields 12
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • type stringrequired
  • orientation stringrequired
  • mergeFields array of stringsrequired
    The {{ tags }} the design uses.
  • dataColumns array of stringsrequired
    The columns a job's data needs — the merge fields, with a grouped line-item list swapped for its item columns.
  • revision integerrequired
    Send it back when you rename the template or restore a version; a stale one answers 409 edit_conflict.
  • importedPdf booleanrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

409edit_conflictplus the errors any change can answer.

curl -X PATCH "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "revision": 3
}'
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "type": "pdf",
  "orientation": "portrait",
  "mergeFields": [
    "Name",
    "Email",
    "Amount"
  ],
  "dataColumns": [
    "Name",
    "Email",
    "Amount"
  ],
  "revision": 3,
  "importedPdf": false,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Archive a template

DELETE /templates/{id}

Archives the template: it leaves the list, nothing is erased, and it can be restored. Erasing it for good is done in the app.

Requires scope templates:write

Path parameters

  • id string (uuid)required
    The template's id.

Returns

204 No Content

Errors

Only the errors any change can answer.

curl -X DELETE "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
204 No content.

Import a template

POST /templates/import

Creates a template from an export file (multipart/form-data, field `file`). Every format version RowScribe has written imports; a broken merge tag is refused.

Requires scope templates:write

Form fieldsmultipart/form-data

  • file filerequired

Returns

201 Created. The Location header points at the new item.
Response fields 12
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • type stringrequired
  • orientation stringrequired
  • mergeFields array of stringsrequired
    The {{ tags }} the design uses.
  • dataColumns array of stringsrequired
    The columns a job's data needs — the merge fields, with a grouped line-item list swapped for its item columns.
  • revision integerrequired
    Send it back when you rename the template or restore a version; a stale one answers 409 edit_conflict.
  • importedPdf booleanrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

400invalid_merge_tag409limit_reachedplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/templates/import" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -F "file=@data.csv"
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "type": "pdf",
  "orientation": "portrait",
  "mergeFields": [
    "Name",
    "Email",
    "Amount"
  ],
  "dataColumns": [
    "Name",
    "Email",
    "Amount"
  ],
  "revision": 3,
  "importedPdf": false,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

List starters

GET /templates/starters

The built-in starters a template can be created from.

Requires scope templates:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 100
    Results per page.

Returns

200 OK.
Response fields 9
  • data array of objectsrequired
  • key stringrequired
  • name stringrequired
  • description stringrequired
  • type stringrequired
  • orientation stringrequired
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/templates/starters" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "key": "invoice",
      "name": "Monthly invoices",
      "description": "Sent on the first of each month.",
      "type": "pdf",
      "orientation": "portrait"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Export a template

GET /templates/{id}/export

The template as an export file (formatVersion 2): its design, settings, and any uploaded images and source PDF inline, ready to import into another workspace.

Requires scope templates:read

Path parameters

  • id string (uuid)required
    The template's id.

Returns

200 OK.

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/export" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
200 No content.

Preview a PDF template

POST /templates/{id}/preview

A PDF template rendered with sample data. For checking a layout — 10 a minute per key; make real documents with POST /jobs or /documents. Not for email templates, or for imported-PDF templates, which are previewed in the app.

Requires scope templates:read

Path parameters

  • id string (uuid)required
    The template's id.

Bodyapplication/json

  • sampleData object
    Values for the merge fields. Left out or empty, every tag shows its own name.

Returns

200 The PDF file.

Errors

Only the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/preview" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "sampleData": {
    "Name": "John Smith",
    "Email": "john.smith@example.com",
    "Amount": 120
  }
}' \
  -o document.pdf
200 The PDF file, sent as an attachment.

Restore a template

POST /templates/{id}/restore

Brings an archived template back.

Requires scope templates:write

Path parameters

  • id string (uuid)required
    The template's id.

Returns

200 OK.
Response fields 12
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • type stringrequired
  • orientation stringrequired
  • mergeFields array of stringsrequired
    The {{ tags }} the design uses.
  • dataColumns array of stringsrequired
    The columns a job's data needs — the merge fields, with a grouped line-item list swapped for its item columns.
  • revision integerrequired
    Send it back when you rename the template or restore a version; a stale one answers 409 edit_conflict.
  • importedPdf booleanrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

Only the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/restore" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "type": "pdf",
  "orientation": "portrait",
  "mergeFields": [
    "Name",
    "Email",
    "Amount"
  ],
  "dataColumns": [
    "Name",
    "Email",
    "Amount"
  ],
  "revision": 3,
  "importedPdf": false,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

List a template's versions

GET /templates/{id}/versions

The last ten versions, newest first. Each change made through the API or the editor keeps the design it replaced.

Requires scope templates:read

Path parameters

  • id string (uuid)required
    The template's id.

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 20
    Results per page.

Returns

200 OK.
Response fields 11
  • data array of objectsrequired
  • id string (uuid)required
  • version integerrequired
  • name stringrequired
  • description stringrequired
  • createdAt string (date-time)required
  • editedBySupport booleanrequired
  • changedByApiKey stringrequired
    The key whose change replaced this version, when it came through the API.
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/versions" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "version": 2,
      "name": null,
      "description": "Sent on the first of each month.",
      "createdAt": "2026-11-03T14:30:00Z",
      "editedBySupport": false,
      "changedByApiKey": null
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Duplicate a template

POST /templates/{id}/duplicate

A copy of a template, named "… (Copy)", with a number added if that name is taken. An archived template answers 404.

Requires scope templates:write

Path parameters

  • id string (uuid)required
    The template's id.

Returns

201 Created. The Location header points at the new item.
Response fields 12
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • type stringrequired
  • orientation stringrequired
  • mergeFields array of stringsrequired
    The {{ tags }} the design uses.
  • dataColumns array of stringsrequired
    The columns a job's data needs — the merge fields, with a grouped line-item list swapped for its item columns.
  • revision integerrequired
    Send it back when you rename the template or restore a version; a stale one answers 409 edit_conflict.
  • importedPdf booleanrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

409limit_reachedplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/duplicate" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "type": "pdf",
  "orientation": "portrait",
  "mergeFields": [
    "Name",
    "Email",
    "Amount"
  ],
  "dataColumns": [
    "Name",
    "Email",
    "Amount"
  ],
  "revision": 3,
  "importedPdf": false,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Send a test email

POST /templates/{id}/send-test

Sends one copy of an email template to a workspace member or verified recipient.

Requires scope templates:write

Path parameters

  • id string (uuid)required
    The template's id.

Bodyapplication/json

  • to stringrequired
    A workspace member or a verified recipient.
  • sampleData object

Returns

204 No Content

Errors

400recipient_not_verified503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/send-test" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "to": "john.smith@example.com",
  "sampleData": {
    "Name": "John Smith",
    "Email": "john.smith@example.com",
    "Amount": 120
  }
}'
204 No content.

Download a sample data file

GET /templates/{id}/sample-file

A CSV (or `format=xlsx`) with the columns a job needs and no rows.

Requires scope templates:read

Path parameters

  • id string (uuid)required
    The template's id.

Query parameters

  • format stringdefault csv

Returns

200 The CSV or Excel file.

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/sample-file" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -o output
200 The CSV or Excel file, sent as an attachment.

Restore a version

POST /templates/{id}/versions/{versionId}/restore

Puts a version back. The current design becomes a version first.

Requires scope templates:write

Path parameters

  • id string (uuid)required
    The template's id.
  • versionId string (uuid)required
    The version's id.

Bodyapplication/json

  • revision integerrequired
    The template's current revision as you read it.

Returns

200 OK.
Response fields 12
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • type stringrequired
  • orientation stringrequired
  • mergeFields array of stringsrequired
    The {{ tags }} the design uses.
  • dataColumns array of stringsrequired
    The columns a job's data needs — the merge fields, with a grouped line-item list swapped for its item columns.
  • revision integerrequired
    Send it back when you rename the template or restore a version; a stale one answers 409 edit_conflict.
  • importedPdf booleanrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

409edit_conflictplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/templates/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/versions/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/restore" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "revision": 3
}'
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "type": "pdf",
  "orientation": "portrait",
  "mergeFields": [
    "Name",
    "Email",
    "Amount"
  ],
  "dataColumns": [
    "Name",
    "Email",
    "Amount"
  ],
  "revision": 3,
  "importedPdf": false,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

List datasets

GET /datasets

The workspace's datasets, most recently changed first. Rows aren't included; read one dataset for them.

Requires scope datasets:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 20
    Results per page.
  • search string
    Filters the results by this text.

Returns

200 OK.
Response fields 20
  • data array of objectsrequired
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • columns array of objectsrequired
  • name stringrequired
    The column name merge tags refer to, e.g. FirstName for {{ FirstName }}.
  • description string
    An optional note about the column, up to 500 characters.
  • fillEachRun string
    For a value that changes every run, such as this month's amount: "keep_last" to start each run from the last value, or "start_blank" to clear it so last run's can't go out again. Null for a column that stays the same. Not allowed on a key column.
  • isActiveColumn booleandefault false
    Makes this the dataset's Active column: a row whose value is No (or false, 0, off, paused) is left out of jobs and schedules. Blank counts as active. At most one per dataset.
  • keyColumns array of stringsrequired
    The row key: the columns, up to three, whose values tell rows apart, such as ["Email"]. Every row has a value in each and no two rows share them (compared ignoring case and surrounding spaces). Rows are updated and deleted by it. Empty when the dataset has no key.
  • rowCount integerrequired
  • revision integerrequired
  • usedBySchedules array of stringsrequired
    The schedules that read the dataset. Filled in lists only.
  • rows array of map of stringrequired
    Only GET /datasets/{id} includes them; lists and write responses leave them out.
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/datasets" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "name": "Monthly invoices",
      "description": "Sent on the first of each month.",
      "columns": [
        {
          "name": null,
          "description": null,
          "fillEachRun": null,
          "isActiveColumn": null
        }
      ],
      "keyColumns": [
        "string"
      ],
      "rowCount": 2,
      "revision": 3,
      "usedBySchedules": [
        "string"
      ],
      "rows": [
        {
          "Name": "John Smith",
          "Email": "john.smith@example.com",
          "Amount": 120
        },
        {
          "Name": "Jane Doe",
          "Email": "jane.doe@example.com",
          "Amount": 95.5
        }
      ],
      "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "createdAt": "2026-11-03T14:30:00Z",
      "updatedAt": "2026-11-03T14:30:00Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Create a dataset

POST /datasets

Creates a dataset from columns and rows, with an optional row key.

Requires scope datasets:write

Bodyapplication/json

  • name stringrequired
  • description stringrequired
  • columns array of objectsrequired
    The dataset's columns, in order.
  • name stringrequired
    The column name merge tags refer to, e.g. FirstName for {{ FirstName }}.
  • description string
    An optional note about the column, up to 500 characters.
  • fillEachRun string
    For a value that changes every run, such as this month's amount: "keep_last" to start each run from the last value, or "start_blank" to clear it so last run's can't go out again. Null for a column that stays the same. Not allowed on a key column.
  • isActiveColumn booleandefault false
    Makes this the dataset's Active column: a row whose value is No (or false, 0, off, paused) is left out of jobs and schedules. Blank counts as active. At most one per dataset.
  • rows array of objects
    One object per row, keyed by column name. Values may be strings, numbers, booleans or null. Keys that aren't one of the columns are ignored.
  • keyColumns array of strings
    Optional. Up to three of the columns to use as the row key, such as ["Email"]. Needed to update or delete rows by key.

Returns

201 Created. The Location header points at the new item.
Response fields 16
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • columns array of objectsrequired
  • name stringrequired
    The column name merge tags refer to, e.g. FirstName for {{ FirstName }}.
  • description string
    An optional note about the column, up to 500 characters.
  • fillEachRun string
    For a value that changes every run, such as this month's amount: "keep_last" to start each run from the last value, or "start_blank" to clear it so last run's can't go out again. Null for a column that stays the same. Not allowed on a key column.
  • isActiveColumn booleandefault false
    Makes this the dataset's Active column: a row whose value is No (or false, 0, off, paused) is left out of jobs and schedules. Blank counts as active. At most one per dataset.
  • keyColumns array of stringsrequired
    The row key: the columns, up to three, whose values tell rows apart, such as ["Email"]. Every row has a value in each and no two rows share them (compared ignoring case and surrounding spaces). Rows are updated and deleted by it. Empty when the dataset has no key.
  • rowCount integerrequired
  • revision integerrequired
  • usedBySchedules array of stringsrequired
    The schedules that read the dataset. Filled in lists only.
  • rows array of map of stringrequired
    Only GET /datasets/{id} includes them; lists and write responses leave them out.
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

400row_cap_exceeded409duplicate_row_key409limit_reachedplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/datasets" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "columns": [
    {
      "name": "Name"
    }
  ],
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ]
}'
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "columns": [
    {
      "name": "Name",
      "description": "Sent on the first of each month.",
      "fillEachRun": null,
      "isActiveColumn": false
    }
  ],
  "keyColumns": [
    "string"
  ],
  "rowCount": 2,
  "revision": 3,
  "usedBySchedules": [
    "string"
  ],
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Retrieve a dataset

GET /datasets/{id}

One dataset with its rows.

Requires scope datasets:read

Path parameters

  • id string (uuid)required
    The dataset's id.

Returns

200 OK.
Response fields 16
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • columns array of objectsrequired
  • name stringrequired
    The column name merge tags refer to, e.g. FirstName for {{ FirstName }}.
  • description string
    An optional note about the column, up to 500 characters.
  • fillEachRun string
    For a value that changes every run, such as this month's amount: "keep_last" to start each run from the last value, or "start_blank" to clear it so last run's can't go out again. Null for a column that stays the same. Not allowed on a key column.
  • isActiveColumn booleandefault false
    Makes this the dataset's Active column: a row whose value is No (or false, 0, off, paused) is left out of jobs and schedules. Blank counts as active. At most one per dataset.
  • keyColumns array of stringsrequired
    The row key: the columns, up to three, whose values tell rows apart, such as ["Email"]. Every row has a value in each and no two rows share them (compared ignoring case and surrounding spaces). Rows are updated and deleted by it. Empty when the dataset has no key.
  • rowCount integerrequired
  • revision integerrequired
  • usedBySchedules array of stringsrequired
    The schedules that read the dataset. Filled in lists only.
  • rows array of map of stringrequired
    Only GET /datasets/{id} includes them; lists and write responses leave them out.
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/datasets/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "columns": [
    {
      "name": "Name",
      "description": "Sent on the first of each month.",
      "fillEachRun": null,
      "isActiveColumn": false
    }
  ],
  "keyColumns": [
    "string"
  ],
  "rowCount": 2,
  "revision": 3,
  "usedBySchedules": [
    "string"
  ],
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Replace a dataset

PUT /datasets/{id}

Replaces the whole dataset: name, columns, row key and rows.

Requires scope datasets:write

Path parameters

  • id string (uuid)required
    The dataset's id.

Bodyapplication/json

  • name stringrequired
  • description stringrequired
  • columns array of objectsrequired
  • name stringrequired
    The column name merge tags refer to, e.g. FirstName for {{ FirstName }}.
  • description string
    An optional note about the column, up to 500 characters.
  • fillEachRun string
    For a value that changes every run, such as this month's amount: "keep_last" to start each run from the last value, or "start_blank" to clear it so last run's can't go out again. Null for a column that stays the same. Not allowed on a key column.
  • isActiveColumn booleandefault false
    Makes this the dataset's Active column: a row whose value is No (or false, 0, off, paused) is left out of jobs and schedules. Blank counts as active. At most one per dataset.
  • rows array of objectsrequired
    Every row; they replace the existing ones.
  • revision integerrequired
    The dataset's revision as you read it.
  • keyColumns array of strings
    Up to three of the columns to use as the row key. Left out, the dataset has none.

Returns

200 OK.
Response fields 16
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • columns array of objectsrequired
  • name stringrequired
    The column name merge tags refer to, e.g. FirstName for {{ FirstName }}.
  • description string
    An optional note about the column, up to 500 characters.
  • fillEachRun string
    For a value that changes every run, such as this month's amount: "keep_last" to start each run from the last value, or "start_blank" to clear it so last run's can't go out again. Null for a column that stays the same. Not allowed on a key column.
  • isActiveColumn booleandefault false
    Makes this the dataset's Active column: a row whose value is No (or false, 0, off, paused) is left out of jobs and schedules. Blank counts as active. At most one per dataset.
  • keyColumns array of stringsrequired
    The row key: the columns, up to three, whose values tell rows apart, such as ["Email"]. Every row has a value in each and no two rows share them (compared ignoring case and surrounding spaces). Rows are updated and deleted by it. Empty when the dataset has no key.
  • rowCount integerrequired
  • revision integerrequired
  • usedBySchedules array of stringsrequired
    The schedules that read the dataset. Filled in lists only.
  • rows array of map of stringrequired
    Only GET /datasets/{id} includes them; lists and write responses leave them out.
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

400row_cap_exceeded409edit_conflict409duplicate_row_keyplus the errors any change can answer.

curl -X PUT "https://rowscribe.com/api/v1/datasets/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "columns": [
    {
      "name": "Name"
    }
  ],
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "revision": 3
}'
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "columns": [
    {
      "name": "Name",
      "description": "Sent on the first of each month.",
      "fillEachRun": null,
      "isActiveColumn": false
    }
  ],
  "keyColumns": [
    "string"
  ],
  "rowCount": 2,
  "revision": 3,
  "usedBySchedules": [
    "string"
  ],
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Delete a dataset

DELETE /datasets/{id}

Deletes a dataset no schedule reads.

Requires scope datasets:write

Path parameters

  • id string (uuid)required
    The dataset's id.

Returns

204 No Content

Errors

409in_useplus the errors any change can answer.

curl -X DELETE "https://rowscribe.com/api/v1/datasets/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
204 No content.

Export a dataset as CSV

GET /datasets/{id}/csv

The rows as CSV.

Requires scope datasets:read

Path parameters

  • id string (uuid)required
    The dataset's id.

Returns

200 The CSV file.

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/datasets/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/csv" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -o data.csv
200 The CSV file, sent as an attachment.

Add rows to a dataset

POST /datasets/{id}/rows

Adds rows after the existing ones. With a row key, a row whose key is already in the dataset is refused; to add or update by key, use PATCH.

Requires scope datasets:write

Path parameters

  • id string (uuid)required
    The dataset's id.

Bodyapplication/json

  • rows array of objectsrequired
  • revision integerrequired
    The dataset's revision as you read it.

Returns

200 OK.
Response fields 7
  • datasetId string (uuid)required
  • revision integerrequired
    The dataset's revision after the write.
  • rowCount integerrequired
  • added integerrequired
  • updated integerrequired
  • deleted integerrequired
  • rows array of map of stringrequired
    The rows this write added or updated, or for a delete the rows removed, as they are now.

Errors

400row_cap_exceeded409edit_conflict409duplicate_row_keyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/datasets/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/rows" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "revision": 3
}'
Response200
{
  "datasetId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "revision": 3,
  "rowCount": 2,
  "added": 0,
  "updated": 0,
  "deleted": 0,
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ]
}

Replace a dataset's rows

PUT /datasets/{id}/rows

Replaces all of the dataset's rows with the ones sent. Rows aren't matched or merged: every existing row is removed, the new ones are kept in the order sent, and the columns stay. To change some rows, add or update them by key with PATCH.

Requires scope datasets:write

Path parameters

  • id string (uuid)required
    The dataset's id.

Bodyapplication/json

  • rows array of objectsrequired
  • revision integerrequired
    The dataset's revision as you read it.

Returns

200 OK.
Response fields 7
  • datasetId string (uuid)required
  • revision integerrequired
    The dataset's revision after the write.
  • rowCount integerrequired
  • added integerrequired
  • updated integerrequired
  • deleted integerrequired
  • rows array of map of stringrequired
    The rows this write added or updated, or for a delete the rows removed, as they are now.

Errors

400row_cap_exceeded409edit_conflict409duplicate_row_keyplus the errors any change can answer.

curl -X PUT "https://rowscribe.com/api/v1/datasets/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/rows" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ],
  "revision": 3
}'
Response200
{
  "datasetId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "revision": 3,
  "rowCount": 2,
  "added": 0,
  "updated": 0,
  "deleted": 0,
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ]
}

Add or update rows by key

PATCH /datasets/{id}/rows

Finds each row sent by the dataset's row key. A row already there takes the columns sent and keeps the rest, so sending only Email and Amount changes only the amount; a row that isn't there is added at the end. The dataset needs a row key, and each row sent needs a value in every key column.

Requires scope datasets:write

Path parameters

  • id string (uuid)required
    The dataset's id.

Bodyapplication/json

  • rows array of objectsrequired
  • revision integer
    Optional. The dataset's revision as you read it: sent, the change is refused if anything changed the dataset since. Left out, it's applied to the dataset as it is, so changes made to other rows at the same time are kept.

Returns

200 OK.
Response fields 7
  • datasetId string (uuid)required
  • revision integerrequired
    The dataset's revision after the write.
  • rowCount integerrequired
  • added integerrequired
  • updated integerrequired
  • deleted integerrequired
  • rows array of map of stringrequired
    The rows this write added or updated, or for a delete the rows removed, as they are now.

Errors

400row_cap_exceeded409edit_conflict409duplicate_row_keyplus the errors any change can answer.

curl -X PATCH "https://rowscribe.com/api/v1/datasets/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/rows" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ]
}'
Response200
{
  "datasetId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "revision": 3,
  "rowCount": 2,
  "added": 0,
  "updated": 0,
  "deleted": 0,
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ]
}

Delete rows by key

POST /datasets/{id}/rows/delete

Removes the rows with these key values; the others keep their order. A key that matches no row is skipped, so sending the same delete twice is safe. The dataset needs a row key.

Requires scope datasets:write

Path parameters

  • id string (uuid)required
    The dataset's id.

Bodyapplication/json

  • keys array of objectsrequired
    One object per row, with a value for each key column, e.g. { "Email": "jane@example.com" }.
  • revision integer
    Optional, as for adding or updating rows by key.

Returns

200 OK.
Response fields 7
  • datasetId string (uuid)required
  • revision integerrequired
    The dataset's revision after the write.
  • rowCount integerrequired
  • added integerrequired
  • updated integerrequired
  • deleted integerrequired
  • rows array of map of stringrequired
    The rows this write added or updated, or for a delete the rows removed, as they are now.

Errors

409edit_conflictplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/datasets/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/rows/delete" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "keys": [
    {}
  ]
}'
Response200
{
  "datasetId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "revision": 3,
  "rowCount": 2,
  "added": 0,
  "updated": 0,
  "deleted": 0,
  "rows": [
    {
      "Name": "John Smith",
      "Email": "john.smith@example.com",
      "Amount": 120
    },
    {
      "Name": "Jane Doe",
      "Email": "jane.doe@example.com",
      "Amount": 95.5
    }
  ]
}

List schedules

GET /schedules

The workspace's schedules with their last and next run.

Requires scope schedules:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 20
    Results per page.
  • search string
    Filters the results by this text.

Returns

200 OK.
Response fields 21
  • data array of objectsrequired
  • id string (uuid)required
  • name stringrequired
  • templateId string (uuid)required
  • templateName stringrequired
  • cron stringrequired
  • timezone stringrequired
  • summary stringrequired
  • enabled booleanrequired
  • oneTime booleanrequired
  • runAtUtc string (date-time)required
  • deliveryMethod stringrequired
  • lastRunAt string (date-time)required
  • nextRunAt string (date-time)required
  • lastRunStatus stringrequired
  • consecutiveFailures integerrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/schedules" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "name": "Monthly invoices",
      "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "templateName": "Monthly invoices",
      "cron": "0 9 * * 1",
      "timezone": "America/New_York",
      "summary": "Every Monday at 9:00 AM — Eastern Time",
      "enabled": true,
      "oneTime": false,
      "runAtUtc": null,
      "deliveryMethod": "download",
      "lastRunAt": "2026-11-03T14:30:00Z",
      "nextRunAt": "2026-11-03T14:30:00Z",
      "lastRunStatus": "completed",
      "consecutiveFailures": 0,
      "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "createdAt": "2026-11-03T14:30:00Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Create a schedule

POST /schedules

Creates a schedule, enabled. Cron is validated with its timezone.

Requires scope schedules:write

Bodyapplication/json

  • name stringrequired
    Shown in the schedules list.
  • templateId string (uuid)required
    The template each run fills.
  • source objectrequired
    Where each run reads its rows: dataset, url or google_sheet.
  • type stringrequired
    dataset, url or google_sheet. Fill in the matching field.
  • datasetId string (uuid)
    For dataset: the stored dataset to read.
  • url object
    Rows fetched from a URL when the job (or each schedule run) starts.
  • url stringrequired
    An http or https URL. On a schedule it may use {{ run_date:yyyy-MM-dd }}, {{ previous_month }}, {{ year }}, {{ month }} and {{ day }}, worked out in the schedule's timezone.
  • format stringdefault csv
    csv, json or xlsx.
  • jsonRowsPath string
    For json: the dotted path to the array of rows, e.g. "data.items". The top level when left out.
  • sheetName string
    For xlsx: the worksheet to read; the first when left out.
  • headers map of string
    Extra request headers. Their values are never returned.
  • bearerToken string
    Write-only: sent as Authorization: Bearer, never returned. On a schedule update, leaving it out removes the stored token.
  • timeoutSeconds integerdefault 30
    How long to wait for the URL, 1 to 120 seconds; values outside are clamped.
  • googleSheet object
    A spreadsheet in a Google account the key's creator has connected in the app.
  • connectedAccountId string (uuid)required
    The Google account, from GET /workspace/connected-accounts.
  • spreadsheetId stringrequired
    The id in the sheet's URL, between /d/ and /edit.
  • sheetName string
    The tab to read; the first when left out.
  • firstRowHeaders booleandefault true
    The first row names the columns.
  • delivery object
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • cron string
    5-part cron, e.g. "0 9 * * 1" for Mondays at 9:00, or Quartz form with seconds. At most once an hour. Leave out for a one-time schedule.
  • timezone string
    IANA timezone the cron runs in, e.g. America/New_York; UTC when left out.
  • runAtUtc string (date-time)
    For a one-time schedule: when it runs.
  • description string
  • attachmentTemplateId string (uuid)
    With an email template: a PDF template attached to each email.
  • exportOptions object
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.
  • columnMapping map of string
  • skipIfSourceUnchanged booleandefault false
    Skip a run when the rows are the same as the last run's.
  • maxRowsPerRun integer
    A run with more rows than this fails instead of sending anything.
  • startsAtUtc string (date-time)
    No runs before this time.
  • endsAtUtc string (date-time)
    No runs after this time.
  • requireApproval booleandefault false
    Each run waits until someone fills in the dataset's each-run values and approves it in the app, which is asked by email ApprovalLeadDays before the run. Needs a dataset source.
  • approvalLeadDays integerdefault 3
    How many days before each run the approval request goes out, 1 to 14.
  • approverUserIds array of string (uuid)
    Workspace members asked to approve each run; they get the emails. Left out, the key's creator. A workspace Owner or Admin can approve too.
  • requireAllApprovers booleandefault false
    Every approver must approve before a run goes out. Off, any one approval sends it.

Returns

201 Created. The Location header points at the new item.
Response fields 62
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • templateId string (uuid)required
  • templateName stringrequired
  • attachmentTemplateId string (uuid)required
  • cron stringrequired
    5-part (m h dom mon dow) or Quartz (with seconds); null for a one-time schedule.
  • timezone stringrequired
  • summary stringrequired
    The schedule in words, e.g. "Every Monday at 9:00 AM — Eastern Time".
  • nextRunsUtc array of string (date-time)required
    The next three run times, within the start and end dates. Empty while disabled; at most one for a one-time schedule.
  • enabled booleanrequired
  • oneTime booleanrequired
  • runAtUtc string (date-time)required
  • startsAtUtc string (date-time)required
  • endsAtUtc string (date-time)required
  • source objectrequired
    Where rows come from instead of the request body.
  • type stringrequired
    dataset, url or google_sheet. Fill in the matching field.
  • datasetId string (uuid)
    For dataset: the stored dataset to read.
  • url object
    Rows fetched from a URL when the job (or each schedule run) starts.
  • url stringrequired
    An http or https URL. On a schedule it may use {{ run_date:yyyy-MM-dd }}, {{ previous_month }}, {{ year }}, {{ month }} and {{ day }}, worked out in the schedule's timezone.
  • format stringdefault csv
    csv, json or xlsx.
  • jsonRowsPath string
    For json: the dotted path to the array of rows, e.g. "data.items". The top level when left out.
  • sheetName string
    For xlsx: the worksheet to read; the first when left out.
  • headers map of string
    Extra request headers. Their values are never returned.
  • bearerToken string
    Write-only: sent as Authorization: Bearer, never returned. On a schedule update, leaving it out removes the stored token.
  • timeoutSeconds integerdefault 30
    How long to wait for the URL, 1 to 120 seconds; values outside are clamped.
  • googleSheet object
    A spreadsheet in a Google account the key's creator has connected in the app.
  • connectedAccountId string (uuid)required
    The Google account, from GET /workspace/connected-accounts.
  • spreadsheetId stringrequired
    The id in the sheet's URL, between /d/ and /edit.
  • sheetName string
    The tab to read; the first when left out.
  • firstRowHeaders booleandefault true
    The first row names the columns.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • exportOptions objectrequired
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.
  • skipIfSourceUnchanged booleanrequired
  • maxRowsPerRun integerrequired
  • lastRunAt string (date-time)required
  • lastRunStatus stringrequired
  • lastJobId string (uuid)required
  • consecutiveFailures integerrequired
  • revision integerrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • requireApproval booleandefault false
  • approvalLeadDays integerdefault 3
  • approverUserIds array of string (uuid)
  • requireAllApprovers booleandefault false

Errors

400recipient_not_verified400connection_expired400endpoint_not_found400endpoint_paused409limit_reached503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/schedules" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Monthly invoices",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "source": {
    "type": "dataset",
    "datasetId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40"
  },
  "delivery": {
    "method": "download"
  },
  "cron": "0 9 * * 1",
  "timezone": "America/New_York"
}'
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "attachmentTemplateId": null,
  "cron": "0 9 * * 1",
  "timezone": "America/New_York",
  "summary": "Every Monday at 9:00 AM — Eastern Time",
  "nextRunsUtc": [
    "2026-11-03T14:30:00Z"
  ],
  "enabled": true,
  "oneTime": false,
  "runAtUtc": null,
  "startsAtUtc": null,
  "endsAtUtc": null,
  "source": {
    "type": "dataset",
    "datasetId": null,
    "url": null,
    "googleSheet": null
  },
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "exportOptions": null,
  "skipIfSourceUnchanged": false,
  "maxRowsPerRun": null,
  "lastRunAt": "2026-11-03T14:30:00Z",
  "lastRunStatus": "completed",
  "lastJobId": null,
  "consecutiveFailures": 0,
  "revision": 3,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z",
  "requireApproval": false,
  "approvalLeadDays": 3,
  "approverUserIds": null,
  "requireAllApprovers": false
}

Retrieve a schedule

GET /schedules/{id}

One schedule, its plain-English summary and its next three run times within its start and end dates.

Requires scope schedules:read

Path parameters

  • id string (uuid)required
    The schedule's id.

Returns

200 OK.
Response fields 62
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • templateId string (uuid)required
  • templateName stringrequired
  • attachmentTemplateId string (uuid)required
  • cron stringrequired
    5-part (m h dom mon dow) or Quartz (with seconds); null for a one-time schedule.
  • timezone stringrequired
  • summary stringrequired
    The schedule in words, e.g. "Every Monday at 9:00 AM — Eastern Time".
  • nextRunsUtc array of string (date-time)required
    The next three run times, within the start and end dates. Empty while disabled; at most one for a one-time schedule.
  • enabled booleanrequired
  • oneTime booleanrequired
  • runAtUtc string (date-time)required
  • startsAtUtc string (date-time)required
  • endsAtUtc string (date-time)required
  • source objectrequired
    Where rows come from instead of the request body.
  • type stringrequired
    dataset, url or google_sheet. Fill in the matching field.
  • datasetId string (uuid)
    For dataset: the stored dataset to read.
  • url object
    Rows fetched from a URL when the job (or each schedule run) starts.
  • url stringrequired
    An http or https URL. On a schedule it may use {{ run_date:yyyy-MM-dd }}, {{ previous_month }}, {{ year }}, {{ month }} and {{ day }}, worked out in the schedule's timezone.
  • format stringdefault csv
    csv, json or xlsx.
  • jsonRowsPath string
    For json: the dotted path to the array of rows, e.g. "data.items". The top level when left out.
  • sheetName string
    For xlsx: the worksheet to read; the first when left out.
  • headers map of string
    Extra request headers. Their values are never returned.
  • bearerToken string
    Write-only: sent as Authorization: Bearer, never returned. On a schedule update, leaving it out removes the stored token.
  • timeoutSeconds integerdefault 30
    How long to wait for the URL, 1 to 120 seconds; values outside are clamped.
  • googleSheet object
    A spreadsheet in a Google account the key's creator has connected in the app.
  • connectedAccountId string (uuid)required
    The Google account, from GET /workspace/connected-accounts.
  • spreadsheetId stringrequired
    The id in the sheet's URL, between /d/ and /edit.
  • sheetName string
    The tab to read; the first when left out.
  • firstRowHeaders booleandefault true
    The first row names the columns.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • exportOptions objectrequired
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.
  • skipIfSourceUnchanged booleanrequired
  • maxRowsPerRun integerrequired
  • lastRunAt string (date-time)required
  • lastRunStatus stringrequired
  • lastJobId string (uuid)required
  • consecutiveFailures integerrequired
  • revision integerrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • requireApproval booleandefault false
  • approvalLeadDays integerdefault 3
  • approverUserIds array of string (uuid)
  • requireAllApprovers booleandefault false

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/schedules/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "attachmentTemplateId": null,
  "cron": "0 9 * * 1",
  "timezone": "America/New_York",
  "summary": "Every Monday at 9:00 AM — Eastern Time",
  "nextRunsUtc": [
    "2026-11-03T14:30:00Z"
  ],
  "enabled": true,
  "oneTime": false,
  "runAtUtc": null,
  "startsAtUtc": null,
  "endsAtUtc": null,
  "source": {
    "type": "dataset",
    "datasetId": null,
    "url": null,
    "googleSheet": null
  },
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "exportOptions": null,
  "skipIfSourceUnchanged": false,
  "maxRowsPerRun": null,
  "lastRunAt": "2026-11-03T14:30:00Z",
  "lastRunStatus": "completed",
  "lastJobId": null,
  "consecutiveFailures": 0,
  "revision": 3,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z",
  "requireApproval": false,
  "approvalLeadDays": 3,
  "approverUserIds": null,
  "requireAllApprovers": false
}

Replace a schedule

PUT /schedules/{id}

Replaces the schedule's settings. Doesn't enable or disable it.

Requires scope schedules:write

Path parameters

  • id string (uuid)required
    The schedule's id.

Bodyapplication/json

  • name stringrequired
    Shown in the schedules list.
  • source objectrequired
    Where each run reads its rows: dataset, url or google_sheet.
  • type stringrequired
    dataset, url or google_sheet. Fill in the matching field.
  • datasetId string (uuid)
    For dataset: the stored dataset to read.
  • url object
    Rows fetched from a URL when the job (or each schedule run) starts.
  • url stringrequired
    An http or https URL. On a schedule it may use {{ run_date:yyyy-MM-dd }}, {{ previous_month }}, {{ year }}, {{ month }} and {{ day }}, worked out in the schedule's timezone.
  • format stringdefault csv
    csv, json or xlsx.
  • jsonRowsPath string
    For json: the dotted path to the array of rows, e.g. "data.items". The top level when left out.
  • sheetName string
    For xlsx: the worksheet to read; the first when left out.
  • headers map of string
    Extra request headers. Their values are never returned.
  • bearerToken string
    Write-only: sent as Authorization: Bearer, never returned. On a schedule update, leaving it out removes the stored token.
  • timeoutSeconds integerdefault 30
    How long to wait for the URL, 1 to 120 seconds; values outside are clamped.
  • googleSheet object
    A spreadsheet in a Google account the key's creator has connected in the app.
  • connectedAccountId string (uuid)required
    The Google account, from GET /workspace/connected-accounts.
  • spreadsheetId stringrequired
    The id in the sheet's URL, between /d/ and /edit.
  • sheetName string
    The tab to read; the first when left out.
  • firstRowHeaders booleandefault true
    The first row names the columns.
  • revision integerrequired
    The schedule's revision as you read it.
  • delivery object
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • cron string
    5-part cron, e.g. "0 9 * * 1" for Mondays at 9:00, or Quartz form with seconds. At most once an hour. Leave out for a one-time schedule.
  • timezone string
    IANA timezone the cron runs in, e.g. America/New_York; UTC when left out.
  • runAtUtc string (date-time)
    For a one-time schedule: when it runs.
  • description string
  • attachmentTemplateId string (uuid)
    With an email template: a PDF template attached to each email.
  • exportOptions object
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.
  • columnMapping map of string
  • skipIfSourceUnchanged booleandefault false
    Skip a run when the rows are the same as the last run's.
  • maxRowsPerRun integer
    A run with more rows than this fails instead of sending anything.
  • startsAtUtc string (date-time)
    No runs before this time.
  • endsAtUtc string (date-time)
    No runs after this time.
  • requireApproval booleandefault false
    Each run waits until someone fills in the dataset's each-run values and approves it in the app, which is asked by email ApprovalLeadDays before the run. Needs a dataset source.
  • approvalLeadDays integerdefault 3
    How many days before each run the approval request goes out, 1 to 14.
  • approverUserIds array of string (uuid)
    Workspace members asked to approve each run; they get the emails. Left out, the key's creator. A workspace Owner or Admin can approve too.
  • requireAllApprovers booleandefault false

Returns

200 OK.
Response fields 62
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • templateId string (uuid)required
  • templateName stringrequired
  • attachmentTemplateId string (uuid)required
  • cron stringrequired
    5-part (m h dom mon dow) or Quartz (with seconds); null for a one-time schedule.
  • timezone stringrequired
  • summary stringrequired
    The schedule in words, e.g. "Every Monday at 9:00 AM — Eastern Time".
  • nextRunsUtc array of string (date-time)required
    The next three run times, within the start and end dates. Empty while disabled; at most one for a one-time schedule.
  • enabled booleanrequired
  • oneTime booleanrequired
  • runAtUtc string (date-time)required
  • startsAtUtc string (date-time)required
  • endsAtUtc string (date-time)required
  • source objectrequired
    Where rows come from instead of the request body.
  • type stringrequired
    dataset, url or google_sheet. Fill in the matching field.
  • datasetId string (uuid)
    For dataset: the stored dataset to read.
  • url object
    Rows fetched from a URL when the job (or each schedule run) starts.
  • url stringrequired
    An http or https URL. On a schedule it may use {{ run_date:yyyy-MM-dd }}, {{ previous_month }}, {{ year }}, {{ month }} and {{ day }}, worked out in the schedule's timezone.
  • format stringdefault csv
    csv, json or xlsx.
  • jsonRowsPath string
    For json: the dotted path to the array of rows, e.g. "data.items". The top level when left out.
  • sheetName string
    For xlsx: the worksheet to read; the first when left out.
  • headers map of string
    Extra request headers. Their values are never returned.
  • bearerToken string
    Write-only: sent as Authorization: Bearer, never returned. On a schedule update, leaving it out removes the stored token.
  • timeoutSeconds integerdefault 30
    How long to wait for the URL, 1 to 120 seconds; values outside are clamped.
  • googleSheet object
    A spreadsheet in a Google account the key's creator has connected in the app.
  • connectedAccountId string (uuid)required
    The Google account, from GET /workspace/connected-accounts.
  • spreadsheetId stringrequired
    The id in the sheet's URL, between /d/ and /edit.
  • sheetName string
    The tab to read; the first when left out.
  • firstRowHeaders booleandefault true
    The first row names the columns.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • exportOptions objectrequired
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.
  • skipIfSourceUnchanged booleanrequired
  • maxRowsPerRun integerrequired
  • lastRunAt string (date-time)required
  • lastRunStatus stringrequired
  • lastJobId string (uuid)required
  • consecutiveFailures integerrequired
  • revision integerrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • requireApproval booleandefault false
  • approvalLeadDays integerdefault 3
  • approverUserIds array of string (uuid)
  • requireAllApprovers booleandefault false

Errors

400recipient_not_verified400connection_expired400endpoint_not_found400endpoint_paused409edit_conflict503service_busyplus the errors any change can answer.

curl -X PUT "https://rowscribe.com/api/v1/schedules/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Monthly invoices",
  "source": {
    "type": "dataset",
    "datasetId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40"
  },
  "revision": 3,
  "delivery": {
    "method": "download"
  },
  "cron": "0 9 * * 1",
  "timezone": "America/New_York"
}'
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "attachmentTemplateId": null,
  "cron": "0 9 * * 1",
  "timezone": "America/New_York",
  "summary": "Every Monday at 9:00 AM — Eastern Time",
  "nextRunsUtc": [
    "2026-11-03T14:30:00Z"
  ],
  "enabled": true,
  "oneTime": false,
  "runAtUtc": null,
  "startsAtUtc": null,
  "endsAtUtc": null,
  "source": {
    "type": "dataset",
    "datasetId": null,
    "url": null,
    "googleSheet": null
  },
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "exportOptions": null,
  "skipIfSourceUnchanged": false,
  "maxRowsPerRun": null,
  "lastRunAt": "2026-11-03T14:30:00Z",
  "lastRunStatus": "completed",
  "lastJobId": null,
  "consecutiveFailures": 0,
  "revision": 3,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z",
  "requireApproval": false,
  "approvalLeadDays": 3,
  "approverUserIds": null,
  "requireAllApprovers": false
}

Delete a schedule

DELETE /schedules/{id}

Deletes a schedule. Jobs it already made stay.

Requires scope schedules:write

Path parameters

  • id string (uuid)required
    The schedule's id.

Returns

204 No Content

Errors

Only the errors any change can answer.

curl -X DELETE "https://rowscribe.com/api/v1/schedules/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
204 No content.

Run a schedule now

POST /schedules/{id}/run

Queues a run now, outside the schedule, even while the schedule is disabled. The answer only confirms it was queued; the run and its job appear in GET /schedules/{id}/runs.

Requires scope schedules:write

Path parameters

  • id string (uuid)required
    The schedule's id.

Returns

202 Accepted. The work carries on after the response.

Errors

Only the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/schedules/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/run" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
202 No content.

List a schedule's runs

GET /schedules/{id}/runs

The schedule's runs, newest first.

Requires scope schedules:read

Path parameters

  • id string (uuid)required
    The schedule's id.

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 20
    Results per page.

Returns

200 OK.
Response fields 12
  • data array of objectsrequired
  • id string (uuid)required
    Empty in the answer to Run now, which only queues the run; GET /schedules/{id}/runs has it.
  • startedAt string (date-time)required
  • completedAt string (date-time)required
  • status stringrequired
    resolving, queued, running, completed, failed, skipped, or awaiting_approval for a schedule that asks for approval before each run.
  • jobId string (uuid)required
    The job the run made. Null when it made none, or when the key's owner is a Member who can't see that job: someone else's, when their permission set doesn't include View all jobs.
  • rows integerrequired
  • error stringrequired
  • dueAt string (date-time)
    For a schedule that asks for approval: the run time this run is for.
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/schedules/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/runs" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "startedAt": "2026-11-03T14:30:00Z",
      "completedAt": "2026-11-03T14:30:00Z",
      "status": "completed",
      "jobId": null,
      "rows": 2,
      "error": null,
      "dueAt": null
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Enable a schedule

POST /schedules/{id}/enable

Turns a schedule on. A one-time schedule whose time has passed needs a new time first.

Requires scope schedules:write

Path parameters

  • id string (uuid)required
    The schedule's id.

Returns

200 OK.
Response fields 62
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • templateId string (uuid)required
  • templateName stringrequired
  • attachmentTemplateId string (uuid)required
  • cron stringrequired
    5-part (m h dom mon dow) or Quartz (with seconds); null for a one-time schedule.
  • timezone stringrequired
  • summary stringrequired
    The schedule in words, e.g. "Every Monday at 9:00 AM — Eastern Time".
  • nextRunsUtc array of string (date-time)required
    The next three run times, within the start and end dates. Empty while disabled; at most one for a one-time schedule.
  • enabled booleanrequired
  • oneTime booleanrequired
  • runAtUtc string (date-time)required
  • startsAtUtc string (date-time)required
  • endsAtUtc string (date-time)required
  • source objectrequired
    Where rows come from instead of the request body.
  • type stringrequired
    dataset, url or google_sheet. Fill in the matching field.
  • datasetId string (uuid)
    For dataset: the stored dataset to read.
  • url object
    Rows fetched from a URL when the job (or each schedule run) starts.
  • url stringrequired
    An http or https URL. On a schedule it may use {{ run_date:yyyy-MM-dd }}, {{ previous_month }}, {{ year }}, {{ month }} and {{ day }}, worked out in the schedule's timezone.
  • format stringdefault csv
    csv, json or xlsx.
  • jsonRowsPath string
    For json: the dotted path to the array of rows, e.g. "data.items". The top level when left out.
  • sheetName string
    For xlsx: the worksheet to read; the first when left out.
  • headers map of string
    Extra request headers. Their values are never returned.
  • bearerToken string
    Write-only: sent as Authorization: Bearer, never returned. On a schedule update, leaving it out removes the stored token.
  • timeoutSeconds integerdefault 30
    How long to wait for the URL, 1 to 120 seconds; values outside are clamped.
  • googleSheet object
    A spreadsheet in a Google account the key's creator has connected in the app.
  • connectedAccountId string (uuid)required
    The Google account, from GET /workspace/connected-accounts.
  • spreadsheetId stringrequired
    The id in the sheet's URL, between /d/ and /edit.
  • sheetName string
    The tab to read; the first when left out.
  • firstRowHeaders booleandefault true
    The first row names the columns.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • exportOptions objectrequired
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.
  • skipIfSourceUnchanged booleanrequired
  • maxRowsPerRun integerrequired
  • lastRunAt string (date-time)required
  • lastRunStatus stringrequired
  • lastJobId string (uuid)required
  • consecutiveFailures integerrequired
  • revision integerrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • requireApproval booleandefault false
  • approvalLeadDays integerdefault 3
  • approverUserIds array of string (uuid)
  • requireAllApprovers booleandefault false

Errors

400schedule_spent503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/schedules/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/enable" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "attachmentTemplateId": null,
  "cron": "0 9 * * 1",
  "timezone": "America/New_York",
  "summary": "Every Monday at 9:00 AM — Eastern Time",
  "nextRunsUtc": [
    "2026-11-03T14:30:00Z"
  ],
  "enabled": true,
  "oneTime": false,
  "runAtUtc": null,
  "startsAtUtc": null,
  "endsAtUtc": null,
  "source": {
    "type": "dataset",
    "datasetId": null,
    "url": null,
    "googleSheet": null
  },
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "exportOptions": null,
  "skipIfSourceUnchanged": false,
  "maxRowsPerRun": null,
  "lastRunAt": "2026-11-03T14:30:00Z",
  "lastRunStatus": "completed",
  "lastJobId": null,
  "consecutiveFailures": 0,
  "revision": 3,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z",
  "requireApproval": false,
  "approvalLeadDays": 3,
  "approverUserIds": null,
  "requireAllApprovers": false
}

Disable a schedule

POST /schedules/{id}/disable

Turns a schedule off. Its settings and run history stay.

Requires scope schedules:write

Path parameters

  • id string (uuid)required
    The schedule's id.

Returns

200 OK.
Response fields 62
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • templateId string (uuid)required
  • templateName stringrequired
  • attachmentTemplateId string (uuid)required
  • cron stringrequired
    5-part (m h dom mon dow) or Quartz (with seconds); null for a one-time schedule.
  • timezone stringrequired
  • summary stringrequired
    The schedule in words, e.g. "Every Monday at 9:00 AM — Eastern Time".
  • nextRunsUtc array of string (date-time)required
    The next three run times, within the start and end dates. Empty while disabled; at most one for a one-time schedule.
  • enabled booleanrequired
  • oneTime booleanrequired
  • runAtUtc string (date-time)required
  • startsAtUtc string (date-time)required
  • endsAtUtc string (date-time)required
  • source objectrequired
    Where rows come from instead of the request body.
  • type stringrequired
    dataset, url or google_sheet. Fill in the matching field.
  • datasetId string (uuid)
    For dataset: the stored dataset to read.
  • url object
    Rows fetched from a URL when the job (or each schedule run) starts.
  • url stringrequired
    An http or https URL. On a schedule it may use {{ run_date:yyyy-MM-dd }}, {{ previous_month }}, {{ year }}, {{ month }} and {{ day }}, worked out in the schedule's timezone.
  • format stringdefault csv
    csv, json or xlsx.
  • jsonRowsPath string
    For json: the dotted path to the array of rows, e.g. "data.items". The top level when left out.
  • sheetName string
    For xlsx: the worksheet to read; the first when left out.
  • headers map of string
    Extra request headers. Their values are never returned.
  • bearerToken string
    Write-only: sent as Authorization: Bearer, never returned. On a schedule update, leaving it out removes the stored token.
  • timeoutSeconds integerdefault 30
    How long to wait for the URL, 1 to 120 seconds; values outside are clamped.
  • googleSheet object
    A spreadsheet in a Google account the key's creator has connected in the app.
  • connectedAccountId string (uuid)required
    The Google account, from GET /workspace/connected-accounts.
  • spreadsheetId stringrequired
    The id in the sheet's URL, between /d/ and /edit.
  • sheetName string
    The tab to read; the first when left out.
  • firstRowHeaders booleandefault true
    The first row names the columns.
  • delivery objectrequired
    Where a job's documents go.
  • method stringdefault download
    download (the default), email, connected_email, webhook or storage. Email templates and combined jobs must use connected_email; anything else, the default included, is refused.
  • to string
    Recipients, comma-separated. On an email template it must be a column tag such as {{ Email }}. Ignored when `recipientListId` is set.
  • cc string
    Cc addresses, comma-separated; tags allowed on an email template.
  • subject string
    The email's subject. Tags allowed. On an email template it overrides the template's subject; for a PDF template it defaults to the template's name.
  • fromName string
    The sender name shown to recipients. Email templates and combined jobs only.
  • body string
    The email's text when a PDF template's documents are sent from a connected mailbox. Plain text.
  • recipientListId string (uuid)
    Send to every address on this saved list instead of `to`. PDF templates only.
  • ccRecipientListId string (uuid)
    Cc every address on this saved list instead of `cc`.
  • connectedAccountId string (uuid)
    Required for connected_email: the Gmail or Outlook mailbox to send from, one the key's creator connected (GET /workspace/connected-accounts).
  • endpointId string (uuid)
    Required for webhook: one of the workspace's webhook endpoints.
  • storageUrl string
    Required for storage: a pre-signed PUT URL the output is uploaded to. Never returned.
  • fileNamePattern string
    Names each PDF from its row, e.g. "Invoice-{{ InvoiceNumber }}". ".pdf" is added; a blank value falls back to the template name and row number.
  • exportOptions objectrequired
    Options for the PDFs a job makes.
  • flatten booleandefault false
    Turns fillable form fields into plain content, so the values can't be edited.
  • password string
    Encrypts each PDF with this password. Write-only: never returned. On a schedule update, leaving it out keeps the stored password; send `exportOptions: null` to remove it.
  • mergeOutputs booleandefault false
    One merged PDF instead of a ZIP with one PDF per row.
  • skipIfSourceUnchanged booleanrequired
  • maxRowsPerRun integerrequired
  • lastRunAt string (date-time)required
  • lastRunStatus stringrequired
  • lastJobId string (uuid)required
  • consecutiveFailures integerrequired
  • revision integerrequired
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • requireApproval booleandefault false
  • approvalLeadDays integerdefault 3
  • approverUserIds array of string (uuid)
  • requireAllApprovers booleandefault false

Errors

503service_busyplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/schedules/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/disable" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "templateId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "templateName": "Monthly invoices",
  "attachmentTemplateId": null,
  "cron": "0 9 * * 1",
  "timezone": "America/New_York",
  "summary": "Every Monday at 9:00 AM — Eastern Time",
  "nextRunsUtc": [
    "2026-11-03T14:30:00Z"
  ],
  "enabled": true,
  "oneTime": false,
  "runAtUtc": null,
  "startsAtUtc": null,
  "endsAtUtc": null,
  "source": {
    "type": "dataset",
    "datasetId": null,
    "url": null,
    "googleSheet": null
  },
  "delivery": {
    "method": "download",
    "to": "john.smith@example.com",
    "cc": null,
    "subject": "Your invoice {{ InvoiceNumber }}",
    "fromName": null,
    "body": null,
    "recipientListId": null,
    "ccRecipientListId": null,
    "connectedAccountId": null,
    "endpointId": null,
    "storageUrl": null,
    "fileNamePattern": null
  },
  "exportOptions": null,
  "skipIfSourceUnchanged": false,
  "maxRowsPerRun": null,
  "lastRunAt": "2026-11-03T14:30:00Z",
  "lastRunStatus": "completed",
  "lastJobId": null,
  "consecutiveFailures": 0,
  "revision": 3,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z",
  "requireApproval": false,
  "approvalLeadDays": 3,
  "approverUserIds": null,
  "requireAllApprovers": false
}

Approve a run

POST /schedules/{id}/runs/{runId}/approve

Approves a run of a schedule with requireApproval that is waiting for it (status awaiting_approval). Its documents are set for the run's time, or start now if that has passed. Fill in the dataset's each-run values first, for example with PATCH /datasets/{id}/rows. The key's creator must be able to edit the dataset.

Requires scope runs:approve

Path parameters

  • id string (uuid)required
    The schedule's id.
  • runId string (uuid)required
    The run's id, from GET /schedules/{id}/runs.

Bodyapplication/json

  • holdBlankRows booleandefault true
    Leave out anyone whose each-run values are still blank and send to the rest. Off, approval is refused while any is blank.

Returns

200 OK.
Response fields 11
  • run objectrequired
    The run as it is now: queued, with its job set for the run time (or started, if that has passed).
  • id string (uuid)required
    Empty in the answer to Run now, which only queues the run; GET /schedules/{id}/runs has it.
  • startedAt string (date-time)required
  • completedAt string (date-time)required
  • status stringrequired
    resolving, queued, running, completed, failed, skipped, or awaiting_approval for a schedule that asks for approval before each run.
  • jobId string (uuid)required
    The job the run made. Null when it made none, or when the key's owner is a Member who can't see that job: someone else's, when their permission set doesn't include View all jobs.
  • rows integerrequired
  • error stringrequired
  • dueAt string (date-time)
    For a schedule that asks for approval: the run time this run is for.
  • sending integerrequired
    Documents the run will make.
  • held integerrequired
    Rows left out because an each-run value was blank.

Errors

Only the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/schedules/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/runs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/approve" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Response200
{
  "run": {
    "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
    "startedAt": "2026-11-03T14:30:00Z",
    "completedAt": "2026-11-03T14:30:00Z",
    "status": "completed",
    "jobId": null,
    "rows": 2,
    "error": null,
    "dueAt": null
  },
  "sending": 0,
  "held": 0
}

List recipient lists

GET /recipient-lists

The workspace's recipient lists, most recently changed first.

Requires scope recipients:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 20
    Results per page.
  • search string
    Filters the results by this text.

Returns

200 OK.
Response fields 12
  • data array of objectsrequired
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • emailCount integerrequired
  • emails array of stringsrequired
    The addresses, lowercased. Left out of lists.
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/recipient-lists" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "name": "Monthly invoices",
      "description": "Sent on the first of each month.",
      "emailCount": 0,
      "emails": null,
      "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "createdAt": "2026-11-03T14:30:00Z",
      "updatedAt": "2026-11-03T14:30:00Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Create a recipient list

POST /recipient-lists

Creates a list. Addresses are checked and duplicates dropped.

Requires scope recipients:write

Bodyapplication/json

  • name stringrequired
  • description stringrequired
  • emails array of stringsrequired
    The addresses. Invalid ones are refused with the reason; duplicates are dropped.

Returns

201 Created. The Location header points at the new item.
Response fields 8
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • emailCount integerrequired
  • emails array of stringsrequired
    The addresses, lowercased. Left out of lists.
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

Only the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/recipient-lists" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "emails": [
    "john.smith@example.com",
    "jane.doe@example.com"
  ]
}'
Response201
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "emailCount": 0,
  "emails": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Retrieve a recipient list

GET /recipient-lists/{id}

One list with its addresses.

Requires scope recipients:read

Path parameters

  • id string (uuid)required
    The recipient list's id.

Returns

200 OK.
Response fields 8
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • emailCount integerrequired
  • emails array of stringsrequired
    The addresses, lowercased. Left out of lists.
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/recipient-lists/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "emailCount": 0,
  "emails": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Replace a recipient list

PUT /recipient-lists/{id}

Replaces the list's name, description and addresses.

Requires scope recipients:write

Path parameters

  • id string (uuid)required
    The recipient list's id.

Bodyapplication/json

  • name stringrequired
  • description stringrequired
  • emails array of stringsrequired
    The addresses. Invalid ones are refused with the reason; duplicates are dropped.

Returns

200 OK.
Response fields 8
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • emailCount integerrequired
  • emails array of stringsrequired
    The addresses, lowercased. Left out of lists.
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required

Errors

Only the errors any change can answer.

curl -X PUT "https://rowscribe.com/api/v1/recipient-lists/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "emails": [
    "john.smith@example.com",
    "jane.doe@example.com"
  ]
}'
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "emailCount": 0,
  "emails": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z"
}

Delete a recipient list

DELETE /recipient-lists/{id}

Deletes a list. Refused while a schedule or an unfinished job sends to it.

Requires scope recipients:write

Path parameters

  • id string (uuid)required
    The recipient list's id.

Returns

204 No Content

Errors

409in_useplus the errors any change can answer.

curl -X DELETE "https://rowscribe.com/api/v1/recipient-lists/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
204 No content.

Export a recipient list

GET /recipient-lists/{id}/export

The list as an export file another workspace can import in the app.

Requires scope recipients:read

Path parameters

  • id string (uuid)required
    The recipient list's id.

Returns

200 OK.

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/recipient-lists/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/export" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
200 No content.

List webhook endpoints

GET /webhook-endpoints

The workspace's webhook endpoints. Secrets are never included.

Requires scope webhooks:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 20
    Results per page.

Returns

200 OK.
Response fields 15
  • data array of objectsrequired
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • url stringrequired
  • headerNames array of stringsrequired
    Custom headers sent with each delivery; their values are never returned.
  • paused booleanrequired
    Paused by RowScribe support: nothing is sent until it's resumed.
  • previousSecretExpiresAt string (date-time)required
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • pausedReason string
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/webhook-endpoints" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "name": "Monthly invoices",
      "description": "Sent on the first of each month.",
      "url": "https://example.com/rowscribe",
      "headerNames": [
        "string"
      ],
      "paused": false,
      "previousSecretExpiresAt": null,
      "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "createdAt": "2026-11-03T14:30:00Z",
      "updatedAt": "2026-11-03T14:30:00Z",
      "pausedReason": null
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Create a webhook endpoint

POST /webhook-endpoints

Creates an endpoint and returns its signing secret — the only time it's shown.

Requires scope webhooks:write

Bodyapplication/json

  • name stringrequired
  • description stringrequired
  • url stringrequired
    An http or https address on the public internet; private and local addresses are refused.
  • headers map of string
    Sent with every delivery, e.g. an Authorization header. Stored encrypted; values are never returned.

Returns

201 Created. The Location header points at the new item.
Response fields 13
  • endpoint objectrequired
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • url stringrequired
  • headerNames array of stringsrequired
    Custom headers sent with each delivery; their values are never returned.
  • paused booleanrequired
    Paused by RowScribe support: nothing is sent until it's resumed.
  • previousSecretExpiresAt string (date-time)required
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • pausedReason string
  • signingSecret stringrequired
    whsec_… — verify each delivery's webhook-signature with it.

Errors

409limit_reachedplus the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/webhook-endpoints" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "url": "https://example.com/rowscribe"
}'
Response201
{
  "endpoint": {
    "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
    "name": "Monthly invoices",
    "description": "Sent on the first of each month.",
    "url": "https://example.com/rowscribe",
    "headerNames": [
      "string"
    ],
    "paused": false,
    "previousSecretExpiresAt": null,
    "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
    "createdAt": "2026-11-03T14:30:00Z",
    "updatedAt": "2026-11-03T14:30:00Z",
    "pausedReason": null
  },
  "signingSecret": "whsec_…"
}

Retrieve a webhook endpoint

GET /webhook-endpoints/{id}

One webhook endpoint, including whether it is paused and why.

Requires scope webhooks:read

Path parameters

  • id string (uuid)required
    The webhook endpoint's id.

Returns

200 OK.
Response fields 11
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • url stringrequired
  • headerNames array of stringsrequired
    Custom headers sent with each delivery; their values are never returned.
  • paused booleanrequired
    Paused by RowScribe support: nothing is sent until it's resumed.
  • previousSecretExpiresAt string (date-time)required
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • pausedReason string

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/webhook-endpoints/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "url": "https://example.com/rowscribe",
  "headerNames": [
    "string"
  ],
  "paused": false,
  "previousSecretExpiresAt": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z",
  "pausedReason": null
}

Replace a webhook endpoint

PUT /webhook-endpoints/{id}

Replaces name, description, URL and headers. A header sent with an empty value keeps its stored value while the URL stays on the same site; leaving headers out removes them all.

Requires scope webhooks:write

Path parameters

  • id string (uuid)required
    The webhook endpoint's id.

Bodyapplication/json

  • name stringrequired
  • description stringrequired
  • url stringrequired
    An http or https address on the public internet; private and local addresses are refused.
  • headers map of string
    Sent with every delivery, e.g. an Authorization header. Stored encrypted; values are never returned.

Returns

200 OK.
Response fields 11
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • url stringrequired
  • headerNames array of stringsrequired
    Custom headers sent with each delivery; their values are never returned.
  • paused booleanrequired
    Paused by RowScribe support: nothing is sent until it's resumed.
  • previousSecretExpiresAt string (date-time)required
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • pausedReason string

Errors

Only the errors any change can answer.

curl -X PUT "https://rowscribe.com/api/v1/webhook-endpoints/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "url": "https://example.com/rowscribe"
}'
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "name": "Monthly invoices",
  "description": "Sent on the first of each month.",
  "url": "https://example.com/rowscribe",
  "headerNames": [
    "string"
  ],
  "paused": false,
  "previousSecretExpiresAt": null,
  "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "createdAt": "2026-11-03T14:30:00Z",
  "updatedAt": "2026-11-03T14:30:00Z",
  "pausedReason": null
}

Delete a webhook endpoint

DELETE /webhook-endpoints/{id}

Deletes an endpoint no schedule or unfinished job uses.

Requires scope webhooks:write

Path parameters

  • id string (uuid)required
    The webhook endpoint's id.

Returns

204 No Content

Errors

409in_useplus the errors any change can answer.

curl -X DELETE "https://rowscribe.com/api/v1/webhook-endpoints/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
204 No content.

List a job's webhook deliveries

GET /jobs/{jobId}/webhook-deliveries

Every delivery attempt for a job, newest first.

Requires scope jobs:read

Path parameters

  • jobId string (uuid)required
    The job's id.

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 50
    Results per page.

Returns

200 OK.
Response fields 13
  • data array of objectsrequired
  • id string (uuid)required
  • jobId string (uuid)required
  • messageId stringrequired
    The webhook-id header: the same on every attempt for a job.
  • url stringrequired
  • httpStatus integerrequired
  • status stringrequired
    pending, delivered or failed.
  • attempt integerrequired
  • error stringrequired
  • createdAt string (date-time)required
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/webhook-deliveries" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "jobId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "messageId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "url": "https://example.com/rowscribe",
      "httpStatus": null,
      "status": "completed",
      "attempt": 0,
      "error": null,
      "createdAt": "2026-11-03T14:30:00Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

Rotate the signing secret

POST /webhook-endpoints/{id}/rotate-secret

A new signing secret. For 24 hours deliveries are signed with both, so a receiver can switch over.

Requires scope webhooks:write

Path parameters

  • id string (uuid)required
    The webhook endpoint's id.

Returns

200 OK.
Response fields 13
  • endpoint objectrequired
  • id string (uuid)required
  • name stringrequired
  • description stringrequired
  • url stringrequired
  • headerNames array of stringsrequired
    Custom headers sent with each delivery; their values are never returned.
  • paused booleanrequired
    Paused by RowScribe support: nothing is sent until it's resumed.
  • previousSecretExpiresAt string (date-time)required
  • createdByUserId string (uuid)required
  • createdAt string (date-time)required
  • updatedAt string (date-time)required
  • pausedReason string
  • signingSecret stringrequired
    whsec_… — verify each delivery's webhook-signature with it.

Errors

Only the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/webhook-endpoints/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/rotate-secret" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "endpoint": {
    "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
    "name": "Monthly invoices",
    "description": "Sent on the first of each month.",
    "url": "https://example.com/rowscribe",
    "headerNames": [
      "string"
    ],
    "paused": false,
    "previousSecretExpiresAt": null,
    "createdByUserId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
    "createdAt": "2026-11-03T14:30:00Z",
    "updatedAt": "2026-11-03T14:30:00Z",
    "pausedReason": null
  },
  "signingSecret": "whsec_…"
}

Send a delivery again

POST /jobs/{jobId}/webhook-deliveries/{deliveryId}/send-again

Sends the job's delivery again now, to the endpoint as it's set up today, with the same webhook-id. At most 10 an hour, automatic retries not counted; refused once the job's documents have expired.

Requires scope jobs:write

Path parameters

  • jobId string (uuid)required
    The job's id.
  • deliveryId string (uuid)required
    The delivery's id.

Returns

200 OK.
Response fields 9
  • id string (uuid)required
  • jobId string (uuid)required
  • messageId stringrequired
    The webhook-id header: the same on every attempt for a job.
  • url stringrequired
  • httpStatus integerrequired
  • status stringrequired
    pending, delivered or failed.
  • attempt integerrequired
  • error stringrequired
  • createdAt string (date-time)required

Errors

Only the errors any change can answer.

curl -X POST "https://rowscribe.com/api/v1/jobs/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/webhook-deliveries/8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40/send-again" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "jobId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "messageId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
  "url": "https://example.com/rowscribe",
  "httpStatus": null,
  "status": "completed",
  "attempt": 0,
  "error": null,
  "createdAt": "2026-11-03T14:30:00Z"
}

Workspace

Read-only: the workspace's members and verified recipients, and the accounts the key's creator has connected.

List members

GET /workspace/members

The workspace's members and their roles.

Requires scope workspace:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 50
    Results per page.

Returns

200 OK.
Response fields 9
  • data array of objectsrequired
  • userId string (uuid)required
  • name stringrequired
  • email stringrequired
  • role stringrequired
  • joinedAt string (date-time)required
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/workspace/members" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "userId": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "name": "John Smith",
      "email": "john.smith@example.com",
      "role": "admin",
      "joinedAt": "2026-11-03T14:30:00Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

List connected accounts

GET /workspace/connected-accounts

The key creator's connected Gmail, Outlook and Google accounts. Never their tokens.

Requires scope workspace:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 50
    Results per page.

Returns

200 OK.
Response fields 11
  • data array of objectsrequired
  • id string (uuid)required
  • provider stringrequired
  • email stringrequired
  • status stringrequired
    connected or needs_reconnect.
  • canSendEmail booleanrequired
  • hasSheetsAccess booleanrequired
  • createdAt string (date-time)required
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/workspace/connected-accounts" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "provider": "gmail",
      "email": "john.smith@example.com",
      "status": "completed",
      "canSendEmail": true,
      "hasSheetsAccess": false,
      "createdAt": "2026-11-03T14:30:00Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}

List verified recipients

GET /workspace/verified-recipients

Addresses outside the workspace that may receive email sent from RowScribe's own address, including ones still awaiting confirmation (verified: false), which can't receive it yet.

Requires scope workspace:read

Query parameters

  • page integerdefault 1
    Page number, starting at 1.
  • pageSize integerdefault 50
    Results per page.

Returns

200 OK.
Response fields 9
  • data array of objectsrequired
  • id string (uuid)required
  • email stringrequired
  • verified booleanrequired
  • verifiedAt string (date-time)required
  • createdAt string (date-time)required
  • page integerrequired
  • pageSize integerrequired
  • total integerrequired

Errors

Only the errors any request can answer.

curl "https://rowscribe.com/api/v1/workspace/verified-recipients" \
  -H "X-API-Key: $ROWSCRIBE_API_KEY"
Response200
{
  "data": [
    {
      "id": "8d0f6c2a-4b1e-4c57-9a3e-2f6d1b7c9e40",
      "email": "john.smith@example.com",
      "verified": true,
      "verifiedAt": "2026-11-03T14:30:00Z",
      "createdAt": "2026-11-03T14:30:00Z"
    }
  ],
  "page": 1,
  "pageSize": 20,
  "total": 2
}