API Documentation
Your API Key
Services
List Services
Endpoint:
GET /api/services?api_key=Example:
curl -X GET "https://api.thuemails.com/api/services?api_key="Get Service
Endpoint:
GET /api/services/{id}?api_key=Example:
curl -X GET "https://api.thuemails.com/api/services/1?api_key="Rentals
Create Rental
Endpoint:
POST /api/rentals| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your API key |
| provider_id | integer | Yes | Provider ID |
| service_id | integer | Yes | Service ID |
| quantity | integer | Yes | Number of accounts (1-10) |
Example:
curl -X POST https://api.thuemails.com/api/rentals \
-H "Content-Type: application/json" \
-d '{
"api_key": "",
"provider_id": 1,
"service_id": 1,
"quantity": 5
}'List Rentals
Endpoint:
GET /api/rentals?api_key=Example:
curl -X GET "https://api.thuemails.com/api/rentals?api_key="Get Rental
Endpoint:
GET /api/rentals/{id}?api_key=Example:
curl -X GET "https://api.thuemails.com/api/rentals/1?api_key="Re-rent Email
Endpoint:
POST /api/rentals/re-rent| Parameter | Type | Required | Description |
|---|---|---|---|
| api_key | string | Yes | Your API key |
| string | Yes | Email to re-rent | |
| service_id | integer | Yes | ID of the service to re-rent |
Example:
curl -X POST https://api.thuemails.com/api/rentals/re-rent \
-H "Content-Type: application/json" \
-d '{
"api_key": "",
"email": "[email protected]",
"service_id": 1
}'