This documentation provides a comprehensive overview of our API, which allows for automated interaction with our platform.
The API is designed to streamline your workflow management and document processing.
To facilitate integration testing and ensure smooth adoption, the API is available in two environments: Acceptance (ACC) for validation and Production (PRO) for live operations.
| Environment | API Domain |
|---|---|
ACC | https://acc.eservices.easypost.eu |
PRO | https://eservices.easypost.eu |
The setup of credentials to make authenticated calls to the API is detailed in the dedicated page Authentication.
Without any additional configuration, you can immediately use the API to:
- Monitor the status of all your Jobs
- Monitor the status and the full track & trace of all the Sendings
To submit new jobs through the API:
Workflow Configuration (Prerequisite)
- Configure your workflow(s) in the Web Platform
- Define necessary tasks (ERDS channel, Email channel, Print & Send fallback, ...)
- Obtain the workflow ID, which is required for job submission
Workflow Validation
- Use the workflow endpoint to verify that your workflow is properly validated
- Only validated workflows can be used for job submission
Document Submission
- The submission is a two-step process:
- Call the prepare endpoint
POST /jobs/single-filewith required metadata. Upon a valid request, you will receive a response containing an upload URLfileUploadUrl. - Upload your file (PDF document, or XML, CSV file depending on the workflow configuration) by performing an HTTPS PUT call on the URL
fileUploadUrlembedding the file as a binary stream.
- Call the prepare endpoint
- The submission is a two-step process:
Example curl request on the fileUploadUrl: bash curl -X PUT -T "/path/to/file" "fileUploadUrl"
The complete API specification is available in OpenAPI format, accessible through the following link: OpenAPI Specification. This specification details all available endpoints, request/response formats, and authentication requirements.