Poštár

API Documentation

Code Samples

Choose a sample to view formatted source code, understand its purpose, and download the Python file.

ISDOC batch sender

send_isdoc_batch.py

Send multiple ISDOC files from a directory, poll delivery status, and move successfully sent files.

Download
SaaS onboarding flow

saas_onboarding_example.py

Complete onboarding walkthrough: participant creation, verification, registration, webhook setup, and first send.

Download
Verified onboarding flow

saas_verified_onboarding_example.py

Create a participant already marked as verified, register to Peppol, configure webhook callbacks, and send a document.

Download
Verified onboarding (simplest)

saas_verified_onboarding_simplest_example.py

Minimal verified onboarding path: authenticate, create and auto-register participant, then send with wait-for-result.

Download