Limited-time July offer: Save 80% on email verification credits. View pricing

Reseller API Tutorial

These endpoints let resellers manage their sub-users. Include your API token as a query parameter.

  • GET /v1/reseller/clients?token=YOUR_TOKEN - list active sub-users
  • GET /v1/reseller/usage?token=YOUR_TOKEN - view allocation and usage
  • POST /v1/reseller/create?token=YOUR_TOKEN - create a new sub-user
  • PUT /v1/reseller/edit?token=YOUR_TOKEN - edit sub-user details
  • POST /v1/reseller/allocate?token=YOUR_TOKEN - allocate credits to a sub-user
  • DELETE /v1/reseller/delete/{apiKey}?token=YOUR_TOKEN - delete a sub-user and refund remaining credits

All credit movements are logged for auditing.

Request & Response Examples

Create sub-user
{
  "email": "client@example.com",
  "name": "Client Name"
}

Returns { "apiKey": "API_KEY" } on success.

Edit sub-user
{
  "apiKey": "SUB_USER_API_KEY",
  "email": "new@example.com",
  "name": "New Name"
}
Allocate credits
{
  "apiKey": "SUB_USER_API_KEY",
  "credits": 100
}
Usage response
{
  "resellerBalance": 5000,
  "users": [
    {
      "apiKey": "SUB_USER_API_KEY",
      "name": "Client Name",
      "email": "client@example.com",
      "allocated": 300,
      "used": 50,
      "balance": 250
    }
  ]
}