Action required: We're beginning to shutdown our old platform. Please migrate to our new platform ASAP. Instructions available in our migration guide.
cURL
curl --request POST \ --url https://api.contiguity.com/numbers/lease/{number} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "billing_method": "monthly" } '
{ "id": "req_xxxxxxxxxxxxxxxx", "timestamp": 1761968887641, "api_version": "v2025.10.31", "object": "response", "data": { "lease_id": "lsd_1234567890", "number": "+13059478667", "status": "active", "billing": { "method": "monthly", "price": { "currency": "USD", "monthly_rate": 19.99, "upfront_fee": 2.99 }, "period": { "start": 1718851200, "end": null } } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Phone number in E.164 format
"+13059478667"
Billing method (service_contract only works if active)
monthly
service_contract
Lease a specific phone number
"req_xxxxxxxxxxxxxxxx"
1761968887641
"v2025.10.31"
"response"
Show child attributes
Lease ID
"lsd_1234567890"
Phone number ID
Lease status
active
expired
terminated
"active"
Billing method
goodwill
"monthly"
Currency
USD
EUR
GBP
CAD
AUD
"USD"
Monthly rate
19.99
One-time fee
2.99
Lease start timestamp
1718851200
Always null for month-to-month leases
null
Was this page helpful?