List phone rentals
Changed onReturns one page of the caller organization's phone rental subscriptions, in any lifecycle state unless status filters it (canceled rentals stay listed so past rentals remain visible). Filter by search, status, plan_interval, cancel_at_period_end, payment_status and a current_period_end_after/current_period_end_before window; order with order_by ('<field> <asc|desc>'). The summary block (active_count, combined monthly cost, per-interval breakdown, upcoming charges) covers every active rental and ignores the filters.
Request
- Base URLhttps://api.axilio.ai/api/v1
- AuthAPI key in header X-Axilio-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
max items per page
pagination offset
only rentals whose phone name or nickname contains this text
only rentals at one of these lifecycle statuses; repeatable. Omit for every status.
only rentals on one of these plan intervals; repeatable
true for rentals set to cancel at period end, false for renewing ones
only rentals in one of these billing states; repeatable
only rentals whose current period ends at or after this time (RFC 3339)
only rentals whose current period ends at or before this time (RFC 3339)
Sort expression '<field> [asc|desc]', direction defaulting to desc; field is phone_name, current_period_end_at, plan_interval or plan_price_microdollars. Defaults to current_period_end_at asc.
Response
OK
Changes
- breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - warning
added the new
dayenum value to the//response property for the response status - warning
added the new
dayenum value to the///response property for the response status - warning
added the new
monthenum value to the//response property for the response status - warning
added the new
monthenum value to the///response property for the response status - warning
added the new
weekenum value to the//response property for the response status - warning
added the new
weekenum value to the///response property for the response status - warning
added the new
yearenum value to the//response property for the response status - warning
added the new
yearenum value to the///response property for the response status - info
added the new optional
queryrequest parametercancel_at_period_end - info
added the new optional
queryrequest parametercurrent_period_end_after - info
added the new optional
queryrequest parametercurrent_period_end_before - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parameteroffset - info
added the new optional
queryrequest parameterorder_by - info
added the new optional
queryrequest parameterpayment_status - info
added the new optional
queryrequest parameterplan_interval - info
added the new optional
queryrequest parametersearch - info
added the new optional
queryrequest parameterstatus - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
/to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status - info
added the required property
///to the response with the status
- breaking
- breaking
removed the required property
from the response with the status - warning
added the new
activeenum value to the//response property for the response status - warning
added the new
canceledenum value to the//response property for the response status - warning
added the new
healthyenum value to the//response property for the response status - warning
added the new
past_dueenum value to the//response property for the response status - info
the endpoint scheme security
bearerAuthwas removed from the API
- breaking