Zapmail
v1
  • latest
  • v1
  1. mailbox
Zapmail
v1
  • 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
  • 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
  • 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
      POST
  • subscriptions
    • Get all subscriptions
      GET
    • Cancel subscription
      POST
    • Upgrade existing subscription
      POST
  • domains
    • Retrieve All Domains
      GET
    • List Assignable Domains
      GET
    • Add DMARC record
      POST
    • Add Domain forwarding
      POST
    • Get Name servers to connect domain
      POST
    • Verify Name Server Propagation
      POST
    • Connect Domain with Zapmail
      POST
    • Enable email forwarding
      POST
    • Remove email forwarding
      DELETE
    • Enable catch all emails
      POST
    • Remove catch all emails
      DELETE
    • Check DNS records
      POST
    • Remove unused domains
      DELETE
    • Get available domains for registration
      POST
    • Get domains purchase payment link
      POST
  1. mailbox

Get Mailbox Details by ID

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

Request

Query Params
id
string 
required
Example:
{{mailbox-id}}
Header Params
x-auth-zapmail
string 
required
Example:
{{x-auth-zapmail}}

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 -g --request GET 'https://api.zapmail.ai/api/v1/mailbox/details?id={{mailbox-id}}' \
--header 'x-auth-zapmail: '

Responses

🟢200Success
application/json
Body
object {0}
Example
{
  "status": 200,
  "message": "Mailbox fetched successfully",
  "data": {
    "mailbox": {
      "id": "8f79c3e4-456b-47a4-9df9-bc1a7c123abc",
      "username": "alex.smith",
      "firstName": "Alex",
      "lastName": "Smith",
      "status": "INACTIVE",
      "profilePicture": null,
      "domain": "techzone.com",
      "domainId": "3a204f5f-8d36-48f8-b00d-9b543a8be31f",
      "assignedOn": "2025-01-05T10:15:22.000Z",
      "expireOn": "2025-02-05T10:15:22.000Z",
      "createdAt": "2025-01-05T10:15:22.000Z"
    }
  }
}
Previous
Retrieve All Mailboxes
Next
Assign New Mailboxes to Domains
Built with