Skip to main content
POST
/
v1
/
pdf
/
generate
Generate PDF
curl --request POST \
  --url https://api.oviond.com/v1/pdf/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "proj_abc123",
  "client_id": "client_xyz",
  "format": "A4",
  "orientation": "portrait"
}
'
{
  "success": true,
  "data": {
    "job_id": "pdf_job_abc123",
    "message": "PDF generation queued"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
project_id
string
required
Minimum string length: 1
Example:

"proj_abc123"

client_id
string
required
Minimum string length: 1
Example:

"client_xyz"

format
enum<string>
required
Available options:
A4,
Letter
Example:

"A4"

orientation
enum<string>
required
Available options:
portrait,
landscape
Example:

"portrait"

Response

PDF generation queued

success
enum<boolean>
required
Available options:
true
data
object
required