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

Generate private Gmail Id

POST
/gmail/generate
If gmailId is not specified, the system will randomly select from all Gmail IDs associated with your account.
Setting plus to true generates addresses with the format username+random@gmail.com, which is useful for email filtering and tracking.
All generated addresses will work with Gmail's systems and will deliver mail to your original Gmail account.
The maximum value for number may be limited based on your account type and permissions.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "gmailId": "string",
    "number": 1,
    "plus": true
}

Request Code 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/generate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "gmailId": "string",
    "number": 1,
    "plus": true
}'

Responses

🟢200Success
application/json
Body

Example
{
    "code": 200,
    "status": true,
    "msg": "success",
    "data": {
        "items": [
            "aa.bb.cc+2gwhp1f03",
            "aa.bb.cc+oxjhqbrp",
            "aa.bb.cc+hado15fd6",
            "aa.bb.cc+wekzk7",
            "aa.bb.cc+tdic7",
            "aa.bb.cc+9520w",
            "aa.bb.cc+95u7",
            "aa.bb.cc+amk5r4i",
            "aa.bb.cc+qngyem",
            "aa.bb.cc+rhnz"
        ],
        "domains": [
            "@gmail.com",
            "@googlemail.com"
        ]
    }
}
Previous
Purchase private Gmail IDs
Next
Gets Messages
Built with