---
title: "Get delivery pricing preview status."
method: GET
path: "/epost/preview/delivery-prices/{preview-id}/status"
tags: ["ePost Communication Platform Preview Services"]
---

# Get delivery pricing preview status.

`GET /epost/preview/delivery-prices/{preview-id}/status`

## Request

- Base URL: `https://api.klara.ch`
- URL: `https://api.klara.ch/epost/preview/delivery-prices/{preview-id}/status`
- Auth: one of:
  - API key in header `X-API-KEY`
  - HTTP bearer

## Path parameters

- `preview-id` string, required

## Response `200`

OK

- PreviewDeliveryPricingResponse: Response of delivery pricing preview with status.
  - `status` 'PROCESSING' | 'FINISHED' | 'ERROR' | 'EXPIRED': The status of preview delivery pricing.
  - `pricePreview` PreviewPotentialPrice[]: List price preview of single delivery.
    - `participantId` string: The participant id of the user that was delivered. Available for DIGITAL channel only.
    - `billRecipientId` string: The bill recipient id of the user that was delivered. Available for EBILL channel only.
    - `senderUserId` string: User id was defined by sender for each recipient
    - `senderEndToEndId` string: End to end id defined by sender for each document
    - `fileName` string: Name of document file uploaded
    - `documentTitle` string: Document title
    - `potentialPrices` PotentialPriceItem[]: List of potential price for each single delivery
      - `channel` 'DIGITAL' | 'PHYSICAL' | 'SMS' | 'EBILL' | 'EMAIL': Potential delivery channel
      - `price` number: Total potential price for specific channel
      - `errorCode` string: Error code
      - `errorMessage` string: Reason can not preview price
    - `errorCode` string: Error code of preview pricing service
    - `errorMessage` string: Error message of preview pricing service

## Other responses

- `400`: Preview id is invalid<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `401`: No Authorization header found or invalid token<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `403`: The current user is not allowed to access this company data<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `429`: API rate limit exceeded<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `Resource not found`: Preview id is not found

---

[API](https://skmtc.dev/klara/apis/klara-public-api.md) · [All operations](https://skmtc.dev/klara/apis/klara-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/klara/apis/klara-public-api/revisions/490b1a879fc2?raw)
