Skip to main content
Every parseur.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Bootstrap

getBootstrap

bootstrap.getBootstrap Retrieve bootstrap configuration: choices, mappings, max_field_lengths, email_domain, extra_fields, and master_parser_set. Risk: read
Input: empty object Output

Documents

copyDocument

documents.copyDocument Copy a document to another mailbox. Risk: write
Input Output

createEmailDocument

documents.createEmailDocument Upload an email or text document to Parseur for parsing. Requires subject, from, and recipient. Risk: write
Input Output

deleteDocument

documents.deleteDocument Delete a document by ID [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

getDocument

documents.getDocument Retrieve full details of a document by ID: status, processing info, parsed results, and download URLs. Risk: read
Input Output

getDocumentLogs

documents.getDocumentLogs Get document logs for a document. Returns a paginated list of logs with status, source, and message details. Risk: read
Input Output

listDocuments

documents.listDocuments List documents within a mailbox. Use when you need to paginate, search, or sort documents after obtaining the mailbox ID. Risk: read
Input Output

processDocument

documents.processDocument Reprocess a document with the current template configuration. Risk: write
Input Output

skipDocument

documents.skipDocument Skip a document. Marks the document with status SKIPPED. Risk: write
Input Output

uploadDocument

documents.uploadDocument Upload a binary file to a Parseur mailbox as multipart/form-data. Risk: write
Input Output

Export Configs

createExportConfig

exportConfigs.createExportConfig Create a custom download for a mailbox. Requires type and items (field names). Risk: write
Input Output

deleteExportConfig

exportConfigs.deleteExportConfig Delete a custom download from a mailbox [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

listExportConfigs

exportConfigs.listExportConfigs List custom downloads (export configurations) for a mailbox. Risk: read
Input Output

updateExportConfig

exportConfigs.updateExportConfig Update a custom download field list, name, or type for an existing configuration. Risk: write
Input Output

Mailboxes

copyMailbox

mailboxes.copyMailbox Copy a mailbox (parser) in Parseur. Creates a duplicate of the mailbox with all its configuration. Risk: write
Input Output

createMailbox

mailboxes.createMailbox Create a new mailbox (parser) in Parseur. Use when you need to set up a new parser for document parsing with custom configuration. Risk: write
Input Output

deleteMailbox

mailboxes.deleteMailbox Delete a mailbox (parser) by ID [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

getMailbox

mailboxes.getMailbox Retrieve full mailbox (parser) configuration by ID, including fields, webhooks, and settings. Risk: read
Input Output

getMailboxSchema

mailboxes.getMailboxSchema Retrieve the JSON schema for a mailbox’s parsed fields. Use when you need the structure and types of data fields extracted by a parser. Risk: read
Input Output

listMailboxes

mailboxes.listMailboxes List mailboxes (parsers) with full configuration details. Use when you need comprehensive mailbox information including field configurations, processing options, and webhook settings. Risk: read
Input Output

updateMailbox

mailboxes.updateMailbox Update a mailbox (parser) configuration such as name, AI engine, processing options, or document handling rules. Risk: write
Input Output

Templates

copyTemplate

templates.copyTemplate Copy a template to another mailbox. Risk: write
Input Output

deleteTemplate

templates.deleteTemplate Delete a template by ID [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

getTemplate

templates.getTemplate Get a template by ID. Risk: read
Input Output

listTemplates

templates.listTemplates List all templates in a mailbox. Risk: read
Input Output

Webhooks

createWebhook

webhooks.createWebhook Create a webhook. Official body uses target (URL), event, and category CUSTOM. Risk: write
Input
Output

deleteWebhook

webhooks.deleteWebhook Delete a webhook by ID [DESTRUCTIVE · IRREVERSIBLE] Risk: destructive · Irreversible
Input Output

disableWebhook

webhooks.disableWebhook Disable a webhook for a mailbox. Removes the webhook from webhook_set. Risk: write
Input Output

enableWebhook

webhooks.enableWebhook Enable a paused webhook for a mailbox. Only webhooks in available_webhook_set can be enabled. Risk: write
Input Output

listWebhooks

webhooks.listWebhooks List active (webhook_set) and paused (available_webhook_set) webhooks for a mailbox via GET /parser/. Risk: read
Input Output