Create Virtual Mailbox
POST/print-mail/v1/virtual_mailboxes
Creates a new virtual mailbox. In live mode, the virtual mailbox will be pending assignment and cannot be used until it has been assigned and activated by our team. You will be notified via email once the virtual mailbox has been activated. In test mode, the virtual mailbox will be activated immediately upon creation.
Body ParametersJSON
Returns
attention: optional string
An optional attention line printed above the name for returned mail,
such as a department. Cannot be combined with careOf.
careOf: optional string
An optional care-of line printed above the name for returned mail.
Cannot be combined with attention.
Create Virtual Mailbox
curl https://api.postgrid.com/print-mail/v1/virtual_mailboxes \
-H 'Content-Type: application/json' \
-H "X-API-Key: $POSTGRID_PRINT_MAIL_API_KEY" \
-d '{
"countryCode": "US"
}'{
"id": "virtual_mailbox_abcdefg123456890",
"object": "virtual_mailbox",
"live": true,
"status": "pending_assignment",
"capabilities": {
"forwardMailTo": {
"id": "contact_pxd7wnnD1xY6H6etKNvjb4",
"object": "contact",
"live": false,
"companyName": "PostGrid",
"addressLine1": "90 CANAL ST STE 600",
"city": "BOSTON",
"provinceOrState": "MA",
"postalOrZip": "90210-1234",
"countryCode": "US",
"skipVerification": false,
"forceVerifiedStatus": false,
"addressStatus": "verified",
"createdAt": "2022-02-16T15:08:41.052Z",
"updatedAt": "2022-02-16T15:08:41.052Z"
},
"envelopeScans": true
},
"countryCode": "US",
"createdAt": "2025-11-01T15:08:41.052Z",
"updatedAt": "2025-11-01T15:08:41.052Z"
}Returns Examples
{
"id": "virtual_mailbox_abcdefg123456890",
"object": "virtual_mailbox",
"live": true,
"status": "pending_assignment",
"capabilities": {
"forwardMailTo": {
"id": "contact_pxd7wnnD1xY6H6etKNvjb4",
"object": "contact",
"live": false,
"companyName": "PostGrid",
"addressLine1": "90 CANAL ST STE 600",
"city": "BOSTON",
"provinceOrState": "MA",
"postalOrZip": "90210-1234",
"countryCode": "US",
"skipVerification": false,
"forceVerifiedStatus": false,
"addressStatus": "verified",
"createdAt": "2022-02-16T15:08:41.052Z",
"updatedAt": "2022-02-16T15:08:41.052Z"
},
"envelopeScans": true
},
"countryCode": "US",
"createdAt": "2025-11-01T15:08:41.052Z",
"updatedAt": "2025-11-01T15:08:41.052Z"
}