Skip to main content
GET
/
v1
/
script-jobs
/
{id}
/
export-pdf
Export script job as PDF
curl --request GET \
  --url https://api.yalg.ai/v1/script-jobs/{id}/export-pdf \
  --header 'x-api-key: <api-key>'
{
  "downloadUrl": "string",
  "filename": "string"
}

Authorizations

x-api-key
string
header
default:yalg_live_your_api_key
required

YALG Developer API key. Send it in the x-api-key header from a server-side environment only.

Path Parameters

id
string
required

Resource identifier.

Example:

"018f9f40-7d7b-7712-9b0f-2e5d9fd5df3f"

Response

PDF download URL returned

downloadUrl
string
filename
string