v2 order API covers every physical and hybrid product. The shipType
field selects the product and determines which fields are required.
Shipment types
Endpoints
Full request/response schemas live in the API Reference tab.
Sending the document
ThepdfFile field accepts three forms:
- Base64 — a base64-encoded PDF string
- URL — a publicly reachable URL (fetched server-side through a proxy); public Google Docs/Drive links are supported
- File upload — a
multipart/form-datafile part
Telegrams & e-Carta
These products carry a text body instead of a PDF (rendered content is limited to 10 pages):shipType=4requirestelegram_msg(min 10 chars) and the flagstelegram_post_dated,telegram_sender_copyandtelegram_delivery_confirmation(each must be present with value 0 or 1). Whentelegram_post_dated=1,telegram_post_dated_datemust be a future date.shipType=8|9|10requireecarta_msg(min 10 chars, may contain HTML).
Downloading files
/api/v2/download/{securityToken}/{job_id}/{type} returns base64 content. The type parameter selects the
file: