Temp Email
  1. Gmail
Temp Email
  • Welcome
  • Authentication
    • Use Password
      POST
    • Use Token
      POST
  • Domains
    • Get Domains
      GET
    • Get Premium Domains
      GET
    • Get Private Domains
      GET
  • Account
    • Get an Account
      GET
    • Get an Premium Account
      GET
    • Get an Private Account
      GET
  • Inbox
    • Gets Messages
      POST
    • Get Message
      POST
    • Deletes Message
      DELETE
  • Gmail
    • Retrieve all private Gmail IDs
      POST
    • Purchase private Gmail IDs
      POST
    • Generate private Gmail Id
      POST
    • Gets Messages
      POST
    • Get Message
      POST
    • Deletes Message
      DELETE
  1. Gmail

Gets Messages

POST
/gmail/inbox
Only support Gmail!
Gets all the Message resources of a given page.
When time is empty or not provided, all emails across all time periods will be queried. When time has a value, only emails received after that timestamp will be queried.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
email
string 
required
temp email address
time
integer 
optional
unix timestamp
Example:
1745411478
Example
{
    "email": "string",
    "time": 1745411478
}

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 POST 'https://22.do/api/v2/gmail/inbox' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "string",
    "time": 1745411478
}'

Responses

🟢200Success
application/json
Body
code
integer 
required
status
boolean 
required
msg
string 
required
data
array [object {6}] 
required
time
integer 
optional
subject
string 
optional
from
string 
optional
to
string 
optional
messageId
string 
optional
expireTime
integer 
optional
Example
{
    "code": 200,
    "status": true,
    "msg": "success",
    "data": [
        {
            "time": 1745411165,
            "subject": "subject",
            "from": "noreply <noreply@notice.22.do>",
            "to": "user@gmail.com",
            "messageId": "1589e29186e7d311882f8d7b5e07b3d5",
            "expireTime": 1745425565
        }
    ]
}
Previous
Generate private Gmail Id
Next
Get Message
Built with