Skip to main content
POST
Convert CSV or Excel to PDF

Request contract

  • Method and path: POST /apis/v1/pdf-co/pdf-from-csv
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/pdf-co/pdf-from-csv
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0103 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string
required

Public URL of the source CSV, XLS, or XLSX file to convert.

autosize
boolean

Whether to adjust output page dimensions to the worksheet content.

expiration
integer

Number of minutes before the temporary output link expires.

httppassword
string

HTTP password when the source URL requires authentication.

httpusername
string

HTTP username when the source URL requires authentication.

name
string

File name for the generated PDF.

pages
string

Zero-based page indices or ranges to convert, such as '0,2-4'.

profiles

Advanced PDF.co profile settings as a JSON string or JSON object.

Response

Tool result data

error
boolean
required
status
required
credits
integer
duration
integer
name
string
pageCount
integer
remainingCredits
integer
url
string