Buy accounts
/open/buyBuy accounts from wallet balance (any active floor product: hotmail, outlook, gmail, yahoo, gmx, aol, social, AI, games, …). Use POST (JSON body) only — GET /open/buy was removed so clientKey never lands in URLs or proxy logs. Sells however many are ready, up to quantity; 0 ready returns 409 and refunds. Premium is required for Microsoft Graph mail send after purchase.
Request URL
https://api.accbooth.com/open/buy?productId=%7BproductId%7D&quantity=1
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| clientKey | string | Yes | Your API key via X-API-Key or Authorization: Bearer (preferred). Body clientKey is a deprecated fallback. |
| productId | string | Yes | Product id or slug (e.g. hotmail, outlook, gmail, yahoo, gmx, aol, chatgpt). |
| quantity | integer | Yes | How many to buy (≥ 1). You are charged only for the accounts that were ready. |
Sample response
{
"code": 0,
"success": true,
"message": "success",
"data": {
"accounts": [
"[email protected]:password:recovery:token…"
],
"quantity": 2,
"requestedQuantity": 5,
"unspent": 0.06,
"totalAmount": 0.04,
"balance": 13.95
},
"requestId": "a1b2c3d4"
}Common failures: 401 (Invalid or missing API key (X-API-Key / Bearer)) · 402 (Insufficient wallet balance, or renew to send / renew to refresh the token) · 404 (Product, order, or inbox not found) · 409 (None of the requested accounts were ready. Nothing is charged.)
/open/buycurl -X POST 'https://api.accbooth.com/open/buy' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY' \
-d '{
"productId": "",
"quantity": "1"
}'Test interface
Run this endpoint against the live API.
