Public API - Orders

Get ongoing activations

Returns paginated activations that are still in-flight (PENDING / READY). Use this to poll for the OTP.

get/v1/public/orders/ongoing-activation

Request

  • Base URL: https://api.sms-virtual.net
  • URL: https://api.sms-virtual.net/v1/public/orders/ongoing-activation
  • Auth: API key in header x-api-key

Query parameters

searchstring

Case-insensitive substring match on phone number, service name, or country.

statusnumber

Filter by activation status. 0 = PENDING, 1 = READY, 2 = RESEND. Omit to include all in-flight states.

pageSizenumber

Items per page. Defaults to 10.

pagenumber

Page number (1-based). Defaults to 1.

Response

Ongoing activations retrieved. Same row shape as /orders/history-activation (with serviceCountry/order/service nesting). data: [] is the common case when nothing is in-flight.

Changes

No recorded changes to this operation across all 1 revision of this API.