Hermes Label Service

checking…

Create a label

Recipient
Parcel

Use a unique reference for each parcel. Submitting the same reference and details again returns its existing job.

Recent jobs

CreatedReferenceRecipientClassStatusTrackingPDF
Enter an API key to load jobs.
Auto-refreshes every 10 s while a job is running.

API

Interactive docs: /api/docs · OpenAPI: /api/openapi.json

Create a label (202 + job id):

curl -X POST https://HOST/api/v1/labels \
  -H "X-API-Key: $HERMES_API_KEY" -H "Idempotency-Key: ORDER-12345-PARCEL-1" -H "Content-Type: application/json" \
  -d '{"recipient":{"country":"AT","firstname":"Max","lastname":"Mustermann",
       "street":"Hauptstraße","housenumber":"1","zipcode":"1010","city":"Wien"},
       "parcel_class":"S","weight_kg":1,"reference":"ORDER-12345"}'

Poll the job until done, failed or cancelled:

curl -H "X-API-Key: $HERMES_API_KEY" https://HOST/api/v1/labels/JOB_ID

Add ?wait=60 to the POST to block up to 60 seconds and get the finished job straight away, or pass callback_url in the body to have the finished job POSTed to your endpoint. The pdf_url in the response carries a per-label token and needs no API key.