/v1/account/new
Create disposable mailbox
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/tempmail-api/v1/account/new" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tempmail-api/v1/account/new", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tempmail-api/v1/account/new");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/tempmail-api/v1/account/new",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"id": "6a1f0a74da099a12b904068e",
"note": "Use this token (as ?token= or Authorization: Bearer) to read the inbox. The mailbox is disposable and may be purged by mail.tm.",
"used": 0,
"quota": 40000000,
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE3ODA0MTkxODgsInJvbGVzIjpbIlJPTEVfVVNFUiJdLCJhZGRyZXNzIjoib2Ewc280cm1od3ZyQHdzaHUubmV0IiwiaWQiOiI2YTFmMGE3NGRhMDk5YTEyYjkwNDA2OGUiLCJtZXJjdXJlIjp7InN1YnNjcmliZSI6WyIvYWNjb3VudHMvNmExZjBhNzRkYTA5OWExMmI5MDQwNjhlIl19fQ.4Nq9EMw5dT75tJJu-vZxga4lrk3Adc62mHnOPt713uf4eRP612-QmWR_6Xtx9xx47prMzO4Ot-sETfwl3MwQKw",
"address": "[email protected]",
"password": "Pwx0kg7yt05wwqb7",
"createdAt": "2026-06-02T16:53:08+00:00"
},
"meta": {
"timestamp": "2026-06-02T16:53:08.948Z",
"request_id": "0fe6ca5f-34af-45ed-b2db-57ba0829f344"
},
"status": "ok",
"message": "Create disposable mailbox",
"success": true
}