Enable the API and retrieve the Webservices token

Follow these steps:

  1. Log in to the FOXBOX console
    Open your browser and log in with your user (e.g. admin).
  2. Open the user settings
    In the top-right corner, click on your username (e.g. ADMINISTRATOR).
    From the dropdown menu, select Settings.
  3. Go to the user/app configuration page
    The User configuration / Application options page will open (like in the screenshot).
  4. Enable webservices
    Locate the Enable webservices field and set it to Yes.
    Save or apply the changes if required (depending on your interface version).
  5. Retrieve the Webservices token
    On the same page, find the Webservices token field.
    This field shows your token, for example:
    cc524fe5d8f4b01474291e25fa86ee2d
    Write down this token: you will use it as parameter h in all API calls (e.g. h=xxxxxxxxxxxxxxxxxxxxxxxx).
  6. (Optional) Configure the Webservices IP range
    If you want to restrict API usage to specific IPs, set the Webservices IP range field.
    Otherwise, leave it with the default configuration.
  7. Quick API test using the token
    Once webservices are enabled and you’ve copied your token, you can run a quick test, for example by querying your credit:
    curl -k "https://foxbox.local/ws/credit?u=admin&h=YOUR_TOKEN_HERE"
    If everything is configured correctly, you will receive a JSON response:
    {
      "status": "OK",
      "error": "0",
      "credit": 1000000,
      "error_string": null,
      "timestamp": 1762709990
    }

That’s it! Your FOXBOX Webservices API is now active and ready to use.

API Documentation

REST-like wrapper for the SMS FOXBOX HTTP Web Services (HTTP) API.

Secure SMS. Fully under your control.

SMS FoxBox keeps all messaging traffic within your infrastructure, ensuring maximum security, data sovereignty, and full control over every SMS exchange.

FoxBox_S1_image

Compact On-Premise SMS Gateway

A compact and reliable on-premise SMS gateway designed for small to mid-scale deployments. FoxBox S1 gives you full control over SMS delivery, integrations and data, making it ideal for alerts, transactional messaging and secure internal communications.

FoxBox_S2_image

Dual-Modem SMS Gateway

FoxBox S2 extends the S1 capabilities with dual modem support for redundancy and load balancing. Built for mission-critical use cases, it ensures higher availability and resilience while keeping all SMS traffic inside your infrastructure.

FoxBox_RS_image

Enterprise Rack SMS Gateway

FoxBox RS is a rack-mount SMS gateway designed for enterprise and large-scale environments. With multi-SIM support, high throughput and advanced integration options, it enables centralized, compliant and scalable SMS communication across complex infrastructures.

Contact US