SMS numbers
SimJuno eSIMs are data-only: they have no phone number of their own. An SMS number is a phone number you rent separately for a set number of days. SMS sent to it are kept in its inbox and, when it is linked to an eSIM, forwarded to that eSIM as an SMS. Use it to receive one-time verification codes.
An SMS number can only receive SMS. It cannot send SMS or make or receive calls.
Which eSIMs can receive forwarded SMS
A number can be linked to an eSIM you ordered whose plan has smsStatus 1 or 2 (shown on GET /esim/destination/{slug} and GET /esim/package/{slug}) and that has not expired. Plans with smsStatus 0 cannot receive SMS. You can rent a number without linking it and read its SMS through the API instead.
Flow
- API — Call
GET /sms-number/offersto list the numbers on sale. Each offer has aproduct_idand the rental lengths (days) with theirprice. The list is empty while no numbers are on sale. Prices use the same factor of 10,000 as your balance, and the accountdiscount_percentdoes not apply to SMS numbers. - API — Call
POST /sms-number/orderwith theproduct_id,days, a unique resellertransaction_idand, optionally, theesim_idto forward to. The price is debited from your reseller wallet and the rented number is returned straight away. To safely retry, reuse the sametransaction_idwith the sameproduct_idanddays. If no number can be supplied, you are not charged and must use a newtransaction_idto try again. - API — To link, change or remove the eSIM later, call
PUT /sms-number/{id}/esimwith anesim_id, ornullto keep new SMS in the inbox only. - Webhook/API — Wait for an
SMS_RECEIVEDwebhook, or pollGET /sms-number/{id}/messages. Each message’sforward_statusshows whether it reached the eSIM. - API — Call
GET /sms-numberto list your numbers andGET /sms-number/{id}for one of them. A number stops receiving SMS atexpires_at.
Refunds
Call POST /sms-number/{id}/refund to return the price to your reseller wallet. This is only possible before refundable_until and before the number has received any SMS. refundable_until is null for numbers that cannot be refunded.