v1

latestOpenAPI 3.0.12026-07-266184114.0 KB
Fax AI

Trigger fax OCR

Trigger OCR processing for a fax. If OCR is already finished, returns the existing result. Consumes AI credits. (Permitted scopes: fax:all:edit, fax:ai:edit)

post/accounts/{user_id}/faxes/{fax_id}/ai/ocr

Path parameters

user_idstring required

User ID. Use 'self' for your own account, or provide a specific user ID for corporate member accounts.

fax_idstring required

The unique identifier of the fax

Response

Response containing OCR processing status and result

status'not_requested' | 'pending' | 'finished' | 'failed' | 'content_filtering_policy' required

OCR processing status

datastring nullable

Extracted text content. Null when status is not finished

Example response

{
  "status": "finished",
  "data": "Dear John,\nPlease find attached the signed contract..."
}