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
ParameterTypeRequiredDescription
api_keystringYesYour API key
provider_idintegerYesProvider ID
service_idintegerYesService ID
quantityintegerYesNumber 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
ParameterTypeRequiredDescription
api_keystringYesYour API key
emailstringYesEmail to re-rent
service_idintegerYesID 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
  }'