1. Webhook (method: "POST",content-type: "application/json")
Example payload of an incoming SMS forwarded to your webhook URL.
You can set your webhook link usingaction: "addnumber"when buying a number or later in the panel under number settings.
{ "status": "ok", "from": "449900000002", "to": "449900000002", "text": "test message", "datetime": "2030-05-06 21:37:28" }
1. Pricing (action: "pricing")
Retrieve pricing plans for phone numbers, grouped by country.
action: "pricing"
2. Buy Number (action: "addnumber")
This action will order the first available dedicated phone number based on the specified country and plan id.
You can retrieve the current available countryid and id values from the pricing JSON response.
action: "addnumber" (req)
countryid: (req)
id: The plan ID associated with the country (e.g., 51, 52, 53) (req)
webhook: (optional)
{ "action": "addnumber", "countryid": "GB", "id": "51", "webhook": "https://localhost:3000" }
3. My Numbers (action: "mynumbers")
List active numbers associated with your account.
action: "mynumbers"
4. Delete Number (action: "deletenumber")
Delete an active number.
action: "deletenumber"
number: The phone number to delete (e.g., 449942046789)
{ "action": "deletenumber", "number": "449900000002" }
Timestamps are in YYYY-MM-DD HH:MM:SS format.
Minimum balance required: 1 EUR