Skip to main content
POST
Auto-Rotate PDF Pages

Request contract

  • Method and path: POST /apis/v1/pdf-co/pdf-auto-rotate
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/pdf-co/pdf-auto-rotate
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

URL of the source PDF file to auto-rotate.

httppassword
string

HTTP authentication password for accessing the source URL.

httpusername
string

HTTP authentication username for accessing the source URL.

lang
string

OCR language code, or two language codes joined with '+'. When omitted, PDF.co uses its default language.

name
string

File name for the generated PDF.

profiles
object

Advanced PDF.co processing profile settings.

Response

Tool result data

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