Developer
Dokumentasyon ng API
I-integrate ang EvilMail sa iyong mga application
Authentication
Lahat ng API request ay nangangailangan ng API key na ipinapasa sa pamamagitan ng X-API-Key header. Kunin ang iyong API key mula sa dashboard pagkatapos mag-register.
X-API-Key: your_api_key_hereMga Endpoint
POST/api/temp-emailCreate a temporary email
Request Body
{ "domain": "evilmail.pro", "ttlMinutes": 60 }Response
{ "status": "success", "data": { "email": "[email protected]", "sessionToken": "...", "expiresAt": "..." } }GET/api/temp-emailGet current temp session
Response
{ "status": "success", "data": { "email": "...", "ttlMinutes": 60, "expiresAt": "..." } }DELETE/api/temp-emailDelete temp session
Response
{ "status": "success" }GET/api/inboxGet inbox messages
Response
{ "status": "success", "data": [{ "uid": 1, "from": "...", "subject": "...", "date": "...", "seen": false }] }GET/api/message/:uidGet full message by UID
Response
{ "status": "success", "data": { "uid": 1, "html": "...", "text": "..." } }GET/api/domainsList your domains
Response
{ "status": "success", "data": [{ "domain": "...", "isVerified": true }] }POST/api/domainsAdd a domain
Request Body
{ "domain": "example.com" }Response
{ "status": "success" }DELETE/api/domainsRemove a domain
Request Body
{ "domain": "example.com" }Response
{ "status": "success" }POST/api/accountsCreate email account
Request Body
{ "email": "[email protected]", "password": "..." }Response
{ "status": "success" }GET/api/accountsList email accounts
Response
{ "status": "success", "data": [...] }DELETE/api/accountsDelete email accounts
Request Body
{ "emails": ["[email protected]"] }Response
{ "status": "success" }Mga Halimbawa ng Code
# Create a temporary email
curl -X POST https://evilmail.pro/api/temp-email \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key_here" \
-d '{"domain": "evilmail.pro", "ttlMinutes": 60}'
# Check inbox
curl https://evilmail.pro/api/inbox \
-H "X-API-Key: your_api_key_here"
# Read a message
curl https://evilmail.pro/api/message/1 \
-H "X-API-Key: your_api_key_here"Rate Limiting
Ang mga API request ay rate-limited batay sa iyong plano. Free: 100/oras, Pro: 1000/oras, Enterprise: walang limitasyon.
Free
100/hour
Pro
1,000/hour
Enterprise
Unlimited
