Skip to main content
POST
/
sync
Convert Bank Statement (Sync)
curl --request POST \
  --url https://api.bankstmtconverter.com/sync \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=https://example.com/sample.pdf \
  --form page_num=1 \
  --form 'password=<string>'
{
  "url": "<string>",
  "doc_id": "<string>"
}

Authorizations

Authorization
string
header
required

Enter your API Bearer token

Body

multipart/form-data
file
string
required

URL of the bank statement file to be converted (PDF). Required

Example:

"https://example.com/sample.pdf"

page_num
integer
default:1

Number of pages to be processed. Optional (defaults to 1).

Required range: x >= 1
password
string | null

Password if the PDF is protected. Optional

Response

Conversion successful.

url
string

Presigned URL to download the converted file.

doc_id
string

Document ID for the converted file.

I