Reserve phone numbers from inventory for use in orders. This allows customers to choose specific numbers before completing their order.
Availability: This feature is part of our premium number selection offering and may not be available for all product offerings. Check the response for availability information.
Usage Flow:
Important: Leased numbers expire after a short time (typically 1 hour) to prevent inventory hoarding.
An API key that grants access to the Connect API. You can create and manage API keys in the portal.
A unique key to ensure idempotency of requests. If a request with the same key has already been processed, the same result will be returned. The key must be unique for each distinct operation. Keys are expired after 24 hours, but we recommend using a new key for each request.
Modified requests with the same idempotency keys are rejected with a 409 Conflict status code.
256Request to lease phone numbers for use in orders.
Numbers leased successfully.
Result of a number leasing request.
The leased phone numbers.
Token to use when creating subscription line items with these numbers.
Provide this token in the leaseToken field when ordering or creating a subscription
along with the chosen msisdn from the leased numbers.
"lease_abc123def456"
When this lease expires if not used in an order.
"2024-01-15T11:30:00Z"