Lease a dedicated virtual number.




numberThe virtual number to lease. Omit this field to be given a random number. Use get-numbers to find out which numbers are currently available.NO

Example: Lease a number and have all responses sent to your server

curl \
  -u 2e24c1cbdd987221e165d543f34b84bf:secret \
  -d number=61414000013 \
  -d 'forward_url='

JSON Response

XML Response

    number: "61491570156",
    next_charge: "2014-09-25",
    auto_renew: true,
    status: "active",
    price: "29",
    forward_url: ""


PHP Examples



 $api=new transmitsmsAPI("API_KEY",'API_SECRET');





     echo"This number is {$result->status} and valid up to {$result->next_charge}";




     echo"Error: {$result->error->description}";