Simple, Easy To implement, Cheap.
Please choose an option to continue
Add and manage your custom domains
Please login to manage your domains
Welcome to the Go6 Mail API documentation.
Get the current VPS URL first:
GET https://go6gen.pythonanywhere.com/vps_url
Response:
{
"vps_url": "https://current-vps-url.go6mail.com"
}
Then use the returned VPS URL for all API requests. For example:
# Get VPS URL
response = requests.get("https://go6gen.pythonanywhere.com/vps_url")
vps_url = response.json()["vps_url"]
# Use it for API requests
response = requests.post(f"{vps_url}/create", json={
"api_key": "Go6Mail-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"domain": "default"
})
Note: The VPS URL may change as we change from VPS.
Creates a new temporary email inbox. Requires sufficient balance on your API key. The system will automatically deduct the current price from your balance upon successful creation.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
| api_key | string | Required | Your Go6 Mail API key | - |
| domain | string | Optional | Domain for the email address. Use "default" for random domain, or specify a specific default domain or your custom domain. You can provide either just the domain name (example.com) or full email address (username@example.com). | "default" |
| username | string | Optional | Custom username for the inbox. Must be 3-32 alphanumeric characters. If not provided, a random username will be generated. | Random username |
| password | string | Optional | Password for accessing the inbox. If not provided, a random password will be generated. | Random hex string |
POST {vps_url}/create
Content-Type: application/json
{
"api_key": "Go6Mail-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"domain": "default",
"password": "mysecretpassword123"
}
POST {vps_url}/create
Content-Type: application/json
{
"api_key": "Go6Mail-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"domain": "go6mail.com",
"username": "john123"
}
POST {vps_url}/create
Content-Type: application/json
{
"api_key": "Go6Mail-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"domain": "username@go6mail.com",
"username": "customuser",
"password": "mypassword"
}
{
"status": "success",
"address": "john12345@example.com",
"username": "john12345",
"domain": "example.com",
"password": "mysecretpassword123",
"price": 0.05
}
{
"status": "error",
"error": "Invalid API key"
}
{
"status": "error",
"error": "Insufficient balance"
}
{
"status": "error",
"error": "Username must be 3-32 alphanumeric characters"
}
{
"status": "error",
"error": "Username already taken"
}
{
"status": "error",
"error": "Domain not available. Use one of your domains or a default domain"
}
Retrieves emails from a specific inbox. This endpoint automatically extracts Discord verification URLs from email bodies and returns them in a clean format.
GET {vps_url}/inbox/john12345?password=mysecretpassword123
GET {vps_url}/inbox/john12345
Authorization: mysecretpassword123
{
"status": "success",
"verification_urls": [
"https://click.discord.com/ls/click?upn=xxxxxxxxxxxx",
"https://discord.com/verify?token=xxxxxxxxxxxx"
],
"message": "Discord verification URLs found",
"email_count": 3,
"url_count": 2
}
{
"status": "no_urls",
"message": "No Discord verification URLs found in any emails",
"email_count": 3
}
{
"status": "error",
"error": "Invalid password for this inbox"
}
{
"status": "inbox not found"
}
Retrieves all email details from a specific inbox, including sender, subject, body, and timestamps. This returns the complete email data without URL extraction.
GET {vps_url}/complete_inbox/john12345?password=mysecretpassword123
GET {vps_url}/complete_inbox/john12345
Authorization: mysecretpassword123
{
"status": "success",
"inbox_name": "john12345",
"total_emails": 3,
"emails": [
{
"id": 1,
"sender": "noreply@discord.com",
"subject": "Verify your Discord account",
"body": "Please click here to verify: https://click.discord.com/verify",
"received_at": 1678901234.567,
"password": "mysecretpassword123"
},
{
"id": 2,
"sender": "service@example.com",
"subject": "Welcome",
"body": "Your account has been created",
"received_at": 1678901200.123,
"password": "mysecretpassword123"
}
]
}
{
"status": "error",
"error": "Invalid password for this inbox"
}
{
"status": "inbox not found"
}
Retrieves all inboxes created by your API key, including email addresses, passwords, and inbox statistics.
GET {vps_url}/get_all_inboxes?api_key=Go6Mail-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
{
"status": "success",
"api_key": "Go6Mail-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"total_inboxes": 2,
"inboxes": [
{
"email_address": "john12345@example.com",
"username": "john12345",
"password": "mysecretpassword123",
"total_emails": 3,
"created_at": 1678901200.123,
"last_email_at": 1678901234.567,
"exists": true
},
{
"email_address": "alice789@go6mail.com",
"username": "alice789",
"password": "anotherpassword456",
"total_emails": 0,
"exists": false
}
]
}
{
"status": "error",
"error": "API key required"
}
{
"status": "error",
"error": "Invalid API key"
}
View and manage all your email inboxes
Loading mailbox...