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

Purchase private Gmail IDs

POST
/gmail/purchase
The cost of purchasing Gmail IDs will be deducted from your account balance.
After successful purchase, the newly acquired Gmail IDs will be immediately available for use.
Each Gmail ID can be used to generate multiple email addresses.
The system will verify that you have sufficient account balance before processing the purchase.
If the purchase is successful, the response will include the details of the newly acquired Gmail IDs.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
number
integer 
required
Specifies the number of new Gmail IDs you wish to purchase. This determines how many unique Gmail IDs will be added to your account.
Example:
1
Example
{
    "number": 1
}

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/purchase' \
--header 'Content-Type: application/json' \
--data-raw '{
    "number": 1
}'

Responses

🟢200Success
application/json
Body
code
integer 
required
status
boolean 
required
msg
string 
required
data
object 
required
items
array[string]
required
domains
array[string]
required
Example
{
    "code": 200,
    "status": true,
    "msg": "Successfully purchased 3 GmailId",
    "data": {
        "items": [
            "aa.bb.cc",
            "aa.b.bcc",
            "a.abbcc"
        ],
        "domains": [
            "@gmail.com",
            "@googlemail.com"
        ]
    }
}
Previous
Retrieve all private Gmail IDs
Next
Generate private Gmail Id
Built with