---
title: "Create Test Virtual Mailbox Item"
method: POST
path: "/print-mail/v1/virtual_mailboxes/{id}/items"
tags: ["Virtual Mailboxes"]
---

# Create Test Virtual Mailbox Item

`POST /print-mail/v1/virtual_mailboxes/{id}/items`

Create a test item for a virtual mailbox. This is only available in test
mode, an error will be returned if you attempt this call in live mode.

## Path parameters

- `id` string, required

## Request body

- VirtualMailboxItemTestCreate — Create body for a test virtual mailbox item.
  - `description` string — The description of the item.
  - `metadata` object — The metadata of the item.
  - `matchedLetter` string — The ID of a letter to match this test item to.

## Response `201`

The request has succeeded and a new resource has been created as a result.

- VirtualMailboxItem — The virtual mailbox item object.
  - `id` string, required — A unique ID prefixed with virtual_mailbox_item_
  - `description` string — An optional string describing this resource. Will be visible in the API and the dashboard.
  - `metadata` object — See the section on Metadata.
  - `live` boolean, required — `true` if this is a live mode resource else `false`.
  - `createdAt` string, date-time, required — The UTC time at which this resource was created.
  - `updatedAt` string, date-time, required — The UTC time at which this resource was last updated.
  - `object` 'virtual_mailbox_item', required — Always "virtual_mailbox_item".
  - `virtualMailbox` string, required — The ID of the virtual mailbox associated with this item.
  - `fileURL` string — A URL of the envelope scan PDF.
  - `matchedLetter` string — The ID of the letter this item was matched to.

## Other responses

- `400` — The server could not understand the request due to invalid syntax.
- `401` — Access is unauthorized.
- `404` — The server cannot find the requested resource.
- `422` — Client error
- `429` — Client error
- `500` — Server error

---

[API](https://skmtc.net/postgrid/apis/postgrid-address-verification-api.md) · [All operations](https://skmtc.net/postgrid/apis/postgrid-address-verification-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/postgrid/postgrid-address-verification-api/versions/537d2bbc624a/schema)
