Rent Numbers
Rent a temporary number for multiple incoming SMS messages.
Rentals keep a number active for a selected period and can collect multiple messages.
Workflow
Query
GET /v2/rent-numbers/catalog.Request a live quote.
Create an order with a UUID v4 idempotency key.
Pay the hold invoice.
Poll with the bearer token while status is
rent_active.Read every delivered entry from
messagesuntil the rental completes.
Create example
curl -sS -X POST https://api.sms4sats.com/v2/rent-numbers/orders \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: 61cc8d9b-2761-48dc-8ac5-e4d3ba20e8c6' \
-d '{"country":"US","service":"full","durationMinutes":120}'Rental durations are normalized to at least two hours and then upward to a whole hour. The maximum request value is 43,200 minutes.
Payment and cancellation
A rental hold invoice settles after the provider successfully allocates the number. The order then enters rent_active, includes an end time, and may accumulate multiple messages. Manual cancellation is available only before payment; any paid rental is not manually cancellable.
Last updated