Zapmail
latest
  • latest
  • v1
  1. mailbox
Zapmail
latest
  • latest
  • v1
  • Zapmail Docs
  • users
    • Retrieve User Details
      GET
  • workspaces
    • Retrieve all workspaces
      GET
    • Create new workspace
      POST
    • Update workspace
      PUT
  • billing
    • Add Billing Details
      POST
    • Update Billing Details
      PUT
  • mailbox
    • Retrieve All Mailboxes
      GET
    • Get Mailbox Details by ID
      GET
    • Assign New Mailboxes to Domains
      POST
    • Update mailbox
      PUT
    • Remove mailboxes on next renewal
      PUT
    • Get Authenticator code
      GET
  • payments & wallet
    • Add balance to wallet
      POST
    • Get wallet balance
      GET
    • Enable auto recharge
      POST
  • export
    • Export mailboxes
      POST
    • Add third party account details
      POST
    • Update third party account details
      PUT
  • subscriptions
    • Get all subscriptions
      GET
    • Cancel subscription
      POST
    • Upgrade existing subscription
      POST
  • domains
    • Retrieve All Domains
    • List Assignable Domains
    • Add DMARC record
    • Add Domain forwarding
    • Get Name servers to connect domain
    • Verify Name Server Propagation
    • Connect Domain with Zapmail
    • Enable email forwarding
    • Remove email forwarding
    • Enable catch all emails
    • Remove catch all emails
    • Check DNS records
    • Remove unused domains
    • Get available domains for registration
    • Get domains purchase payment link
  • dns
    • Get dns records
    • Add dns records
    • Update dns records
    • Delete dns records
  1. mailbox

Get Mailbox Details by ID

GET
/v2/mailboxes
Use this endpoint to retrieve the details of a specific mailbox by its ID.

Request

Query Params
id
string 
required
Header Params
x-auth-zapmail
string 
required
Example:
{{x-auth-zapmail}}
x-workspace-key
string 
required
Example:
{{x-workspace-key}}
x-service-provider
string 
required
Example:
{{x-service-provider}}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.zapmail.ai/api/v2/mailboxes?id=' \
--header 'x-auth-zapmail: ' \
--header 'x-workspace-key: ' \
--header 'x-service-provider: GOOGLE'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
  "status": 200,
  "message": "Mailbox fetched successfully",
  "data": {
    "mailbox": {
      "id": "abcd1234-5678-90ef-ghij-klmn12345678",
      "username": "john.doe",
      "firstName": "John",
      "lastName": "Doe",
      "status": "ACTIVE",
      "profilePicture": null,
      "domain": "example1.com",
      "domainId": "12345abc-defg-6789-hijk-lmnopqrstu12",
      "assignedOn": "2025-01-10T09:00:00.000Z",
      "expireOn": "2025-02-10T09:00:00.000Z",
      "createdAt": "2025-01-10T09:00:00.000Z",
      "appPassword": "nfd2 jk43 4jas hfdj",
      "secret": "gger u434 ebt6 kktm st4d hj41 62tz fe24"
    }
  }
}
Previous
Retrieve All Mailboxes
Next
Assign New Mailboxes to Domains
Built with