Overview
A Rental is an email address or a phone number that Phones Inc lends your organization for one service, so you can receive a verification code from that service. See Verification Codes for the full flow.- Rent returns an
address. - Enter that address in the service’s sign-up or login form.
- Read the rental with Get Rental until
codeis set.
Properties
The
id of the service the rental is for, for example tiktok.Where the rental stands.
active- waiting for a code.completed- a code arrived; it is incode.expired- no code arrived beforeexpiresAt.cancelled- you cancelled it.
The verification code, or
null until one arrives. If the service sends a newer code within 15 minutes, code is updated.When an
active rental ends if no code has arrived (ISO 8601 timestamp). An email rental lasts 15 minutes; a phone rental’s length is set by the number’s carrier and is usually a few minutes.