Retrieve Virtual Mailbox
print_mail.virtual_mailboxes.retrieve(strid) -> VirtualMailboxRetrieveResponse
GET/print-mail/v1/virtual_mailboxes/{id}
Retrieve Virtual Mailbox
import os
from postgrid import PostGrid
client = PostGrid(
print_mail_api_key=os.environ.get("POSTGRID_PRINT_MAIL_API_KEY"), # This is the default and can be omitted
)
virtual_mailbox = client.print_mail.virtual_mailboxes.retrieve(
"id",
)
print(virtual_mailbox.id){
"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"
}