Skip to main content
Use order child resources to track fulfillment from your integration.

Messages

List messages:
curl "$ARCHIVE_ORDER_BASE_URL/orders/order_123/messages" \
  -H "Authorization: Bearer $ARCHIVE_ORDER_API_KEY"
Send a message:
curl -X POST "$ARCHIVE_ORDER_BASE_URL/orders/order_123/messages" \
  -H "Authorization: Bearer $ARCHIVE_ORDER_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "content": "Could you confirm whether the archive holds the 1892 register?"
  }'
Messages are scoped to a single order.

Documents

List delivered documents:
curl "$ARCHIVE_ORDER_BASE_URL/orders/order_123/documents" \
  -H "Authorization: Bearer $ARCHIVE_ORDER_API_KEY"
Example response:
[
  {
    "name": "birth-record.pdf",
    "url": "https://storage.example.com/signed-url"
  }
]
The url is a short-lived signed URL. Generate a fresh document list request when a URL expires.

Events

List public event history:
curl "$ARCHIVE_ORDER_BASE_URL/orders/order_123/events" \
  -H "Authorization: Bearer $ARCHIVE_ORDER_API_KEY"
Example response:
[
  {
    "id": "evt_123",
    "type": "order.created",
    "payload": {
      "id": "order_123"
    },
    "createdAt": "2026-06-18T12:00:00Z"
  }
]
Use events for audit trails and reconciliation. Use webhooks for push delivery.