1. Onebox
  • Welcome to the Cold Mail Reseller API
  • Get Started
    • Overview
    • Authentication
    • Quick Start
  • Core Concepts
    • Onebox
    • Users
    • Domains
    • DNS Management
    • Pre-Warmup
    • Mailbox Warmup
    • OAuth Exports
    • Platform Exports
    • Mailboxes
    • Sandbox API
    • 1+ Year Subscriptions
    • Subscriptions
    • Domain Renewal
  • API Reference
    • Users
      • List Users
      • Get User
      • Create User
      • Update User
      • Delete User
    • Geo
      • List Countries
      • List States
    • Domains
      • Domain Protection
      • Domain Renewal
        • Get Domain Renewal Prices
        • Renew Domains
        • Toggle Domain Auto-Renew
      • Get Domain
      • List Available Aged Domains
      • Order Aged Domains
      • Get Domains by User
      • Check Domain Availability
      • Check Single Domain Availability
      • Check Workspace Existence
      • Set Domain Forwarding
      • Set Email Forwarding
      • Delete Domains
      • Enable Domain Protection
      • Cancel Domain Protection
    • DNS
      • Get DNS Records
      • Add DNS Records
      • Update DNS Record
      • Update Nameservers
      • Delete DNS Record
    • Mailboxes
      • List Mailboxes
      • Get Mailboxes by User
      • Get Mailbox
      • Get Admin Mailbox Details
      • Update Mailbox Details
      • Delete Mailbox
    • Mailbox Warmup
      • Add Warmup to Mailbox
      • Toggle Warmup
      • Update Warmup Settings
      • Delete Warmup Subscription
    • Orders
      • Get Order Status
      • Get Order Details
      • Create Order
      • Create Order (JSON)
      • Create Mailbox Order (JSON)
      • Process Order
    • Subscriptions
      • 1+ Year Subscription
        • Recreate Subscription
      • Get Subscriptions
      • Renew Subscriptions
      • Cancel Subscription
      • Toggle Auto-Renewal
    • Exports
      • Platform Exports
        • Get Platform Credentials
        • Get Platform Workspaces
        • Add Platform Credential
        • Export Mailboxes to Platform
        • Update Platform Credential
        • Remove Platform Credential
      • OAuth Exports
        • Perform OAuth
        • Add Client ID to Domains
    • Pre-Warmup
      • Sandbox
        • Get Sandbox Pre-warmup Domains
        • Order Sandbox Pre-warmup
        • Reset Sandbox Pre-warmup
      • Get Pre-warmup Domains
      • Order Pre-warmup
    • Placement Test
      • Create Placement Order
      • Get Placement Reports
    • Onebox
      • Connect Mailbox
        POST
      • List Connected Mailboxes
        GET
      • List Emails
        GET
      • Get Thread
        GET
      • Search Emails
        GET
      • Act On Thread
        POST
      • List Labels
        GET
      • Create Label
        POST
      • Rename Label
        PUT
      • Delete Label
        DELETE
      • Send Email
        POST
      • Disconnect Mailbox
        DELETE
    • ZapSites
      • ZapSites: how the flow fits together
      • Page
        • Scan Destination
        • Check Existing Sites For Destination
        • List ZapSites
        • Create ZapSite
        • Get ZapSite
        • Update ZapSite
        • Delete ZapSite
        • Duplicate ZapSite
      • Copy & Versions
        • Regenerate ZapSite Copy
        • List ZapSite Versions
        • Preview ZapSite Version
        • Rollback ZapSite
      • Preview & Leads
        • Preview ZapSite
        • List ZapSite Leads
        • Send Test Lead Alert
      • Deploy & Deployments
        • Deploy ZapSite
        • Update Deployment Settings
        • Remove Deployment
  • Resources
    • Errors
    • Rate Limits
    • Pagination
    • Sandbox
    • MCP
  • Webhooks
    • Overview
    • Events
      • DNS Events
      • Subscription Events
      • Prewarmup Events
      • Mailbox Warmup Events
      • Mailbox Events
      • Domain Events
  • Schemas
    • Error
    • Success
    • MessageResponse
    • User
    • Domain
    • ErrorResponse
    • Mailbox
    • Subscription
    • DnsRecord
    • Error Response
    • Pagination Meta
    • Action Error Response
    • PrewarmupOrderResult
    • OrderCreationResult
  1. Onebox

List Emails

GET
/onebox/threads
The unified inbox feed — threads across every connected mailbox at once.
This is the core Onebox read endpoint. It does not take an account parameter: results span all of the user's connected mailboxes, and each item carries the account it arrived in.
Results are cursor-paginated. Pass the nextCursor from the previous response to fetch the next page; nextCursor is absent on the final page.

Example#

GET /onebox/threads?userId=K5PF9Y068AMDGENV5BTCNJJZK55F&limit=10

Request

Authorization
API Key
Add parameter in header
cmr-x-api-key
Example:
cmr-x-api-key: ********************
or
Query Params

Responses

🟢200Success
application/json
Threads from every connected mailbox, newest first, plus a pagination block.
Bodyapplication/json

🟠401Unauthorized
🟠404Not Found
🟠422Validation Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://customers.coldmailreseller.com/api/v1/integration/onebox/threads?userId=K5PF9Y068AMDGENV5BTCNJJZK55F&limit=10&cursor=eyJ0eXBlIjoic2VhcmNoX2FmdGVyIiwidmFsdWVzIjpbMTc5MDk0MDczODAwMCwiMTg3NzkzNzQ3NjczMjU5NjE5MCJdfQ' \
--header 'cmr-x-api-key: <api-key>'
Response Response Example
200 - Example 1
{
    "status": 200,
    "message": "Threads fetched",
    "data": [
        {
            "threadId": "1877937258181177440",
            "messageId": "<Gq3K93hRllxHkWlnjYO1wg@notifications.google.com>",
            "account": "andrew.lawyer@aurumlawyer.com",
            "date": "2026-10-02T11:34:03.000Z",
            "snippet": "App password created to sign in to your account",
            "subject": "Security alert",
            "from": [
                {
                    "name": "Google",
                    "address": "no-reply@accounts.google.com"
                }
            ],
            "to": [
                {
                    "name": "string",
                    "address": "andrew.lawyer@aurumlawyer.com"
                }
            ],
            "labels": [
                "UNREAD",
                "CATEGORY_UPDATES",
                "INBOX"
            ],
            "folderPath": "inbox",
            "isRead": false,
            "isStarred": false,
            "isWarmUp": false
        }
    ],
    "pagination": {
        "nextCursor": "eyJ0eXBlIjoic2VhcmNoX2FmdGVyIiwidmFsdWVzIjpbMTc5MDk0MDczODAwMCwiMTg3NzkzNzQ3NjczMjU5NjE5MCJdfQ",
        "total": 4
    }
}
Modified at 2026-10-02 13:23:23
Previous
List Connected Mailboxes
Next
Get Thread
Built with