Basic Information

Base URL
https://www.sms9527api.com/openapi/v1
In the Profile > API Token > Generate Token
Authorization: Bearer <API_KEY>
Use your profile API Key for numbers, SMS, renewals, transfers, reservations, eSIM, wallet, tickets and messages. Write requests require Idempotency-Key; retries must use the same key and parameters.
Download OpenAPI specification

Monthly Rental Quickstart (End-to-End Example)

Follow these steps to fetch the country code, look up the 24-char project _id, place an order, and query numbers.

  • For single-project purchases, POST /long_term/generation expects keyword to be the 24-character hex _id from GET /long_term/template/drop — do not pass project names like Gmail or PayPal.
  • Write endpoints require an 8–128 character Idempotency-Key. If a request failed and you modify the payload, generate a new Idempotency-Key (reusing the old key with a different body returns 409).
1. List available country codes

Pick the target country id from the response (for example, US2).

curl -X GET 'https://www.sms9527api.com/openapi/v1/country/code/drop' \
  -H 'Authorization: Bearer <API_KEY>'
2. Search monthly templates and copy the 24-char _id

Filter by project name using keyword (such as Gmail), then copy _id from pagination.items.

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/template/drop?country_id=US2&page=1&size=20&keyword=Gmail' \
  -H 'Authorization: Bearer <API_KEY>'
3. Purchase monthly rental numbers

Pass the 24-char _id in keyword (or set is_all_project=true for all-project numbers) with a unique Idempotency-Key.

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/generation' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: order-20261201-0001' \
  -H 'Content-Type: application/json' \
  --data '{"country_id":"US2","keyword":"65f1a2b3c4d5e6f7a8b9c0d1","days":7,"exp_num":1}'
4. Fetch purchased numbers by batch

Use data.batch_number from the purchase response to list numbers, then poll /long_term/number/msg/list for SMS messages.

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/list?batch_number=20261201090000abcdef123456&page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

API Endpoints

68

Showing 68 endpoints

Account balance

/openapi/v1/account/balance
GET

https://www.sms9527api.com/openapi/v1/account/balance

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/account/balance' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

{
  "code": 200,
  "data": {
    "balance": 100,
    "frozen_balance": 0,
    "user_id": "customer-id"
  },
  "msg": "ok"
}

Purchase monthly rental number

/openapi/v1/long_term/generation
POST

For single-project orders, keyword must be the 24-character hex _id returned by GET /long_term/template/drop (not a project name like Gmail). Set is_all_project=true to buy all-project numbers without keyword. Provide either days or hours (1–24), and exp_num > 0.

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/generation

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
complete_numbersarraybodyOptionalComplete numbers used to match available numbers. · Up to 500 items
country_idstringbodyRequiredCountry code, e.g. US; use the country list.
daysintegerbodyRequiredDuration in days (mutually exclusive with hours when purchasing).
exclude_numbersarraybodyOptionalNumber segments to exclude from the selection. · Up to 500 items
exp_numintegerbodyOptionalNumber quantity requested. · ≤ 500
is_all_projectbooleanbodyOptionalPurchase all-project numbers instead of a single project (keyword may be omitted when true).
keywordstringbodyOptionalRequired for single-project orders: 24-character hex project _id from GET /long_term/template/drop (do not pass names like Gmail); omit when is_all_project=true.
numbersarraybodyOptionalPreferred number prefix segments (e.g. 1202; adds 20% fee; cannot be combined with exclude_numbers or complete_numbers). · Up to 500 items
order_groupstringbodyOptionalOrder group identifier used to group generated orders.
with_voice_codebooleanbodyOptionalAlso purchase voice-code service for these numbers.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/generation' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"country_id":"US","days":1}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Monthly rental batch list

/openapi/v1/long_term/generation/list
GET

https://www.sms9527api.com/openapi/v1/long_term/generation/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
batch_numberstringqueryOptionalNumber batch ID from the batch list.
country_idstringqueryOptionalCountry code, e.g. US; use the country list.
keywordstringqueryOptionalProject name (such as Gmail, or all_project; matches id returned by GET /keyword/drop).
numberstringqueryOptionalPhone number or number filter.
is_expiringbooleanqueryOptionalFilter for numbers that are expiring soon.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/generation/list?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Batch reset SMS code receiving links

/openapi/v1/long_term/number/batch/reset
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/number/batch/reset

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringbodyRequiredCountry code, e.g. US; use the country list.
keywordstringbodyRequiredProject name (such as Gmail, or all_project; matches id returned by GET /keyword/drop).
numbersarraybodyRequiredPhone numbers to process. · Up to 500 items

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/batch/reset' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"country_id":"US","numbers":["replace-with-numbers"],"keyword":"replace-with-project-id"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Number range inventory

/openapi/v1/long_term/number/count
GET

Pass the 24-character _id from GET /long_term/template/drop in keyword_id for a single project, or set is_all_project=true for all-project segments.

https://www.sms9527api.com/openapi/v1/long_term/number/count

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
is_all_projectbooleanqueryOptionalSearch all projects instead of a single project.
country_idstringqueryRequiredCountry code, e.g. US; use the country list.
keyword_idstringqueryOptionalProject ID returned by the corresponding project list.
daysintegerqueryRequiredDuration in days (mutually exclusive with hours when purchasing).
with_voice_codebooleanqueryOptionalOnly include numbers or projects with voice code support.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/count?country_id=US&days=1' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Check whether number exists

/openapi/v1/long_term/number/exists
GET

https://www.sms9527api.com/openapi/v1/long_term/number/exists

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
numberstringqueryRequiredPhone number or number filter.
keywordstringqueryRequiredProject identifier returned by the corresponding project list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/exists?number=replace-with-number&keyword=replace-with-project-id' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Export number expiration times

/openapi/v1/long_term/number/expire/export
POST

https://www.sms9527api.com/openapi/v1/long_term/number/expire/export

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringbodyRequiredCountry code, e.g. US; use the country list.
keywordstringbodyRequiredProject name (such as Gmail, or all_project; matches id returned by GET /keyword/drop).
numbersarraybodyRequiredPhone numbers to process. · Up to 500 items

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/expire/export' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  --data '{"country_id":"US","numbers":["replace-with-numbers"],"keyword":"replace-with-project-id"}'

Response Example File download

Success returns text or a file stream; errors return code/msg JSON.

Query number expiration times

/openapi/v1/long_term/number/expire/query
POST

https://www.sms9527api.com/openapi/v1/long_term/number/expire/query

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringbodyRequiredCountry code, e.g. US; use the country list.
keywordstringbodyRequiredProject name (such as Gmail, or all_project; matches id returned by GET /keyword/drop).
numbersarraybodyRequiredPhone numbers to process. · Up to 500 items

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/expire/query' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  --data '{"country_id":"US","numbers":["replace-with-numbers"],"keyword":"replace-with-project-id"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Export all numbers

/openapi/v1/long_term/number/export/all
GET

https://www.sms9527api.com/openapi/v1/long_term/number/export/all

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringqueryOptionalCountry code, e.g. US; use the country list.
keywordstringqueryOptionalProject identifier returned by the corresponding project list.
domainstringqueryOptionalExport domain returned by the business export domain list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/export/all' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example File download

Success returns text or a file stream; errors return code/msg JSON.

Export batch numbers

/openapi/v1/long_term/number/export/down
GET

https://www.sms9527api.com/openapi/v1/long_term/number/export/down

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
batch_numberstringqueryOptionalNumber batch ID from the batch list.
keywordstringqueryOptionalProject identifier returned by the corresponding project list.
domainstringqueryOptionalExport domain returned by the business export domain list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/export/down' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example File download

Success returns text or a file stream; errors return code/msg JSON.

Export remaining project numbers

/openapi/v1/long_term/number/export/remaining
GET

https://www.sms9527api.com/openapi/v1/long_term/number/export/remaining

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
keyword_idstringqueryRequiredProject ID returned by the corresponding project list.
country_idstringqueryRequiredCountry code, e.g. US; use the country list.
daysintegerqueryRequiredDuration in days (mutually exclusive with hours when purchasing).

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/export/remaining?keyword_id=65f1a2b3c4d5e6f7a8b9c0d1&country_id=US&days=1' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example File download

Success returns text or a file stream; errors return code/msg JSON.

Reset batch SMS code receiving links

/openapi/v1/long_term/number/export/reset
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/number/export/reset

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
batch_numberstringbodyRequiredNumber batch ID from the batch list.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/export/reset' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"batch_number":"replace-with-batch-number"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Batch number list

/openapi/v1/long_term/number/list
GET

https://www.sms9527api.com/openapi/v1/long_term/number/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
batch_numberstringqueryRequiredNumber batch ID from the batch list.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
numberstringqueryOptionalPhone number or number filter.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/list?batch_number=replace-with-batch-number&page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

SMS code receiving records

/openapi/v1/long_term/number/msg/list
GET

Lists delivered SMS messages for monthly numbers. The keyword query parameter searches SMS message text rather than project ID.

https://www.sms9527api.com/openapi/v1/long_term/number/msg/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
numberstringqueryOptionalPhone number or number filter.
keywordstringqueryOptionalFuzzy search by SMS message content (not project ID).
time_rangeintegerqueryRequiredLook back 1, 7 or 30 days.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/msg/list?page=1&size=20&time_range=1' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Export reset numbers

/openapi/v1/long_term/number/reset/export
GET

https://www.sms9527api.com/openapi/v1/long_term/number/reset/export

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
reset_idstringqueryRequiredLink reset record ID from the link reset record list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/reset/export?reset_id=replace-with-reset-id' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example File download

Success returns text or a file stream; errors return code/msg JSON.

Link reset records

/openapi/v1/long_term/number/reset/list
GET

https://www.sms9527api.com/openapi/v1/long_term/number/reset/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
country_idstringqueryOptionalCountry code, e.g. US; use the country list.
keywordstringqueryOptionalProject identifier returned by the corresponding project list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/reset/list?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Project inventory

/openapi/v1/long_term/project/count
GET

Pass the 24-character _id from GET /long_term/template/drop in keyword_id for a single project, or set is_all_project=true for all-project stock.

https://www.sms9527api.com/openapi/v1/long_term/project/count

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringqueryRequiredCountry code, e.g. US; use the country list.
keyword_idstringqueryOptionalProject ID returned by the corresponding project list.
is_all_projectbooleanqueryOptionalSearch all projects instead of a single project.
daysintegerqueryRequiredDuration in days (mutually exclusive with hours when purchasing).
complete_numbersstringqueryOptionalComplete numbers used to match available numbers.
with_voice_codebooleanqueryOptionalOnly include numbers or projects with voice code support.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/project/count?country_id=US&days=1' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Monthly rental project list

/openapi/v1/long_term/template/drop
GET

Lists purchasable monthly projects, prices, and stock for a country. Use each item's 24-character _id as keyword in POST /long_term/generation and as keyword_id in stock/reservation endpoints. The keyword query parameter here filters by project name or alias.

https://www.sms9527api.com/openapi/v1/long_term/template/drop

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringqueryRequiredCountry code, e.g. US; use the country list.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
keywordstringqueryOptionalFuzzy search by project name or alias (for example, Gmail).
with_voice_codebooleanqueryOptionalOnly include numbers or projects with voice code support.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/template/drop?country_id=US&page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Voice code price

/openapi/v1/long_term/voice_code/price
GET

https://www.sms9527api.com/openapi/v1/long_term/voice_code/price

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringqueryRequiredCountry code, e.g. US; use the country list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/voice_code/price?country_id=US' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Purchase voice code

/openapi/v1/long_term/voice_code/upgrade
POST

Upgrades numbers with voice-code support using either a uuids array or all_selected=true with selection_filter.

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/voice_code/upgrade

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
all_selectedbooleanbodyOptionalSelect all matching numbers; at most 500 per operation.
excluded_idsarraybodyOptionalNumber record IDs excluded from an all-matching selection. · Up to 500 items
selection_filterobjectbodyOptionalFilters used when selecting all matching numbers.
selection_filter.country_idstringbodyOptionalCountry code, e.g. US; use the country list.
selection_filter.expire_endintegerbodyOptionalExpiration end time as a Unix timestamp.
selection_filter.expire_startintegerbodyOptionalExpiration start time as a Unix timestamp.
selection_filter.group_idstringbodyOptionalNumber group ID from the group list.
selection_filter.keywordstringbodyOptionalProject identifier returned by the corresponding project list.
selection_filter.numberstringbodyOptionalPhone number or number filter.
selection_filter.statusstringbodyOptionalStatus filter.
uuidsarraybodyOptionalNumber UUIDs to upgrade. · Up to 500 items

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/voice_code/upgrade' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Create number group

/openapi/v1/long_term/group/create
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/group/create

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
descriptionstringbodyOptionalNumber group description.
group_namestringbodyRequiredNumber group name.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/group/create' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"group_name":"replace-with-group-name"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Delete number group

/openapi/v1/long_term/group/delete/{id}
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/group/delete/{id}

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
idstringpathRequiredRecord ID from the corresponding list.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/group/delete/replace-with-id' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Number group list

/openapi/v1/long_term/group/list
GET

https://www.sms9527api.com/openapi/v1/long_term/group/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/group/list' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Update number group

/openapi/v1/long_term/group/update/{id}
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/group/update/{id}

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
idstringpathRequiredRecord ID from the corresponding list.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
descriptionstringbodyOptionalNumber group description.
group_namestringbodyOptionalNumber group name.
sort_orderintegerbodyOptionalDisplay sort order.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/group/update/replace-with-id' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Export group numbers (query filter)

/openapi/v1/long_term/number/group/export
GET

https://www.sms9527api.com/openapi/v1/long_term/number/group/export

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
AllSelectedbooleanqueryOptionalSelect all matching numbers.
SelectionFilterobjectqueryOptionalFilters used when selecting all matching numbers.
ExcludedIDsarrayqueryOptionalNumber record IDs excluded from an all-matching selection. · Up to 500 items
group_idstringqueryOptionalNumber group ID from the group list.
number_idsstringqueryOptionalNumber record IDs to process.
domainstringqueryOptionalExport domain returned by the business export domain list.
statusstringqueryOptionalStatus filter.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/group/export' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example File download

Success returns text or a file stream; errors return code/msg JSON.

Export group numbers (JSON body)

/openapi/v1/long_term/number/group/export
POST

https://www.sms9527api.com/openapi/v1/long_term/number/group/export

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
all_selectedbooleanbodyOptionalSelect all matching numbers; at most 500 per operation.
domainstringbodyOptionalExport domain returned by the business export domain list.
excluded_idsarraybodyOptionalNumber record IDs excluded from an all-matching selection. · Up to 500 items
group_idstringbodyOptionalNumber group ID from the group list.
number_idsstringbodyOptionalNumber record IDs to process.
selection_filterobjectbodyOptionalFilters used when selecting all matching numbers.
selection_filter.country_idstringbodyOptionalCountry code, e.g. US; use the country list.
selection_filter.expire_endintegerbodyOptionalExpiration end time as a Unix timestamp.
selection_filter.expire_startintegerbodyOptionalExpiration start time as a Unix timestamp.
selection_filter.group_idstringbodyOptionalNumber group ID from the group list.
selection_filter.keywordstringbodyOptionalProject identifier returned by the corresponding project list.
selection_filter.numberstringbodyOptionalPhone number or number filter.
selection_filter.statusstringbodyOptionalStatus filter.
statusstringbodyOptionalStatus filter.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/group/export' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  --data '{}'

Response Example File download

Success returns text or a file stream; errors return code/msg JSON.

Batch set number groups

/openapi/v1/long_term/number/group/set
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/number/group/set

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
all_selectedbooleanbodyOptionalSelect all matching numbers; at most 500 per operation.
excluded_idsarraybodyOptionalNumber record IDs excluded from an all-matching selection. · Up to 500 items
group_idstringbodyOptionalNumber group ID from the group list.
idsarraybodyOptionalNumber record IDs, up to 500. · Up to 500 items
keywordstringbodyOptionalProject name (such as Gmail, or all_project; matches id returned by GET /keyword/drop).
numbersarraybodyOptionalPhone numbers to process. · Up to 500 items
selection_filterobjectbodyOptionalFilters used when selecting all matching numbers.
selection_filter.country_idstringbodyOptionalCountry code, e.g. US; use the country list.
selection_filter.expire_endintegerbodyOptionalExpiration end time as a Unix timestamp.
selection_filter.expire_startintegerbodyOptionalExpiration start time as a Unix timestamp.
selection_filter.group_idstringbodyOptionalNumber group ID from the group list.
selection_filter.keywordstringbodyOptionalProject identifier returned by the corresponding project list.
selection_filter.numberstringbodyOptionalPhone number or number filter.
selection_filter.statusstringbodyOptionalStatus filter.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/group/set' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Set number auto-renewal

/openapi/v1/long_term/number/manage/auto-renew
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/number/manage/auto-renew

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
enabledbooleanbodyRequiredWhether the feature is enabled.
idstringbodyRequiredRecord ID from the corresponding list.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/manage/auto-renew' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"id":"replace-with-id","enabled":false}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Batch set auto-renewal

/openapi/v1/long_term/number/manage/auto-renew/batch
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/number/manage/auto-renew/batch

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
all_selectedbooleanbodyOptionalSelect all matching numbers; at most 500 per operation.
enabledbooleanbodyRequiredWhether the feature is enabled.
excluded_idsarraybodyOptionalNumber record IDs excluded from an all-matching selection. · Up to 500 items
idsarraybodyOptionalNumber record IDs, up to 500. · Up to 500 items
selection_filterobjectbodyOptionalFilters used when selecting all matching numbers.
selection_filter.country_idstringbodyOptionalCountry code, e.g. US; use the country list.
selection_filter.expire_endintegerbodyOptionalExpiration end time as a Unix timestamp.
selection_filter.expire_startintegerbodyOptionalExpiration start time as a Unix timestamp.
selection_filter.group_idstringbodyOptionalNumber group ID from the group list.
selection_filter.keywordstringbodyOptionalProject identifier returned by the corresponding project list.
selection_filter.numberstringbodyOptionalPhone number or number filter.
selection_filter.statusstringbodyOptionalStatus filter.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/manage/auto-renew/batch' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"enabled":false}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Number management list

/openapi/v1/long_term/number/manage/list
GET

https://www.sms9527api.com/openapi/v1/long_term/number/manage/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
country_idstringqueryOptionalCountry code, e.g. US; use the country list.
keywordstringqueryOptionalProject name (such as Gmail, or all_project; matches id returned by GET /keyword/drop).
numberstringqueryOptionalPhone number or number filter.
statusstringqueryOptionalStatus filter.
group_idstringqueryOptionalNumber group ID from the group list.
expire_startintegerqueryOptionalExpiration start time as a Unix timestamp.
expire_endintegerqueryOptionalExpiration end time as a Unix timestamp.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/long_term/number/manage/list?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Batch renew by number ID

/openapi/v1/long_term/number/manage/renew
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/number/manage/renew

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
all_selectedbooleanbodyOptionalSelect all matching numbers; at most 500 per operation.
excluded_idsarraybodyOptionalNumber record IDs excluded from an all-matching selection. · Up to 500 items
idsarraybodyOptionalNumber record IDs, up to 500. · Up to 500 items
selection_filterobjectbodyOptionalFilters used when selecting all matching numbers.
selection_filter.country_idstringbodyOptionalCountry code, e.g. US; use the country list.
selection_filter.expire_endintegerbodyOptionalExpiration end time as a Unix timestamp.
selection_filter.expire_startintegerbodyOptionalExpiration start time as a Unix timestamp.
selection_filter.group_idstringbodyOptionalNumber group ID from the group list.
selection_filter.keywordstringbodyOptionalProject identifier returned by the corresponding project list.
selection_filter.numberstringbodyOptionalPhone number or number filter.
selection_filter.statusstringbodyOptionalStatus filter.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/manage/renew' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Number voice code purchase summary

/openapi/v1/long_term/number/manage/selection/voice-summary
POST

https://www.sms9527api.com/openapi/v1/long_term/number/manage/selection/voice-summary

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
all_selectedbooleanbodyOptionalSelect all matching numbers; at most 500 per operation.
excluded_idsarraybodyOptionalNumber record IDs excluded from an all-matching selection. · Up to 500 items
selection_filterobjectbodyOptionalFilters used when selecting all matching numbers.
selection_filter.country_idstringbodyOptionalCountry code, e.g. US; use the country list.
selection_filter.expire_endintegerbodyOptionalExpiration end time as a Unix timestamp.
selection_filter.expire_startintegerbodyOptionalExpiration start time as a Unix timestamp.
selection_filter.group_idstringbodyOptionalNumber group ID from the group list.
selection_filter.keywordstringbodyOptionalProject identifier returned by the corresponding project list.
selection_filter.numberstringbodyOptionalPhone number or number filter.
selection_filter.statusstringbodyOptionalStatus filter.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/manage/selection/voice-summary' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  --data '{}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Batch transfer by number ID

/openapi/v1/long_term/number/manage/transfer
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/long_term/number/manage/transfer

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
all_selectedbooleanbodyOptionalSelect all matching numbers; at most 500 per operation.
excluded_idsarraybodyOptionalNumber record IDs excluded from an all-matching selection. · Up to 500 items
idsarraybodyOptionalNumber record IDs, up to 500. · Up to 500 items
remarkstringbodyOptionalRemark or note sent with the operation.
selection_filterobjectbodyOptionalFilters used when selecting all matching numbers.
selection_filter.country_idstringbodyOptionalCountry code, e.g. US; use the country list.
selection_filter.expire_endintegerbodyOptionalExpiration end time as a Unix timestamp.
selection_filter.expire_startintegerbodyOptionalExpiration start time as a Unix timestamp.
selection_filter.group_idstringbodyOptionalNumber group ID from the group list.
selection_filter.keywordstringbodyOptionalProject identifier returned by the corresponding project list.
selection_filter.numberstringbodyOptionalPhone number or number filter.
selection_filter.statusstringbodyOptionalStatus filter.
target_user_idstringbodyRequiredID of the user receiving the numbers.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/long_term/number/manage/transfer' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"target_user_id":"replace-with-target-user-id"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Expiring number statistics

/openapi/v1/number/expiring/count
GET

https://www.sms9527api.com/openapi/v1/number/expiring/count

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/number/expiring/count' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Renew number

/openapi/v1/number/renew
POST

Batch renews numbers by text. Pass the project name in keyword (such as Gmail, or all_project for all-project numbers) and separate multiple numbers with newlines.

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/number/renew

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringbodyRequiredCountry code, e.g. US; use the country list.
keywordstringbodyRequiredProject name (such as Gmail, or all_project; matches id returned by GET /keyword/drop).
numberstringbodyRequiredPhone number or number filter.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/number/renew' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"country_id":"US","keyword":"replace-with-project-id","number":"replace-with-number"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Renewal order details

/openapi/v1/number/renew/order/detail
GET

https://www.sms9527api.com/openapi/v1/number/renew/order/detail

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
order_nostringqueryRequiredOrder number from the order list.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/number/renew/order/detail?order_no=replace-with-order-no&page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Export renewal order numbers

/openapi/v1/number/renew/order/export
GET

https://www.sms9527api.com/openapi/v1/number/renew/order/export

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
order_nostringqueryRequiredOrder number from the order list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/number/renew/order/export?order_no=replace-with-order-no' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example File download

Success returns text or a file stream; errors return code/msg JSON.

Renewal order list

/openapi/v1/number/renew/order/list
GET

https://www.sms9527api.com/openapi/v1/number/renew/order/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
statusstringqueryOptionalStatus filter.
order_nostringqueryOptionalOrder number from the order list.
numberstringqueryOptionalPhone number or number filter.
start_timeintegerqueryOptionalStart time as a Unix timestamp.
end_timeintegerqueryOptionalEnd time as a Unix timestamp.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/number/renew/order/list?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Renewal price

/openapi/v1/number/renew/price
GET

https://www.sms9527api.com/openapi/v1/number/renew/price

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringqueryRequiredCountry code, e.g. US; use the country list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/number/renew/price?country_id=US' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Transfer number

/openapi/v1/number/transfer
POST

Batch transfers numbers by text. Pass the project name in keyword (such as Gmail, or all_project for all-project numbers) and separate multiple numbers with newlines.

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/number/transfer

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
keywordstringbodyRequiredProject name (such as Gmail, or all_project; matches id returned by GET /keyword/drop).
numbersstringbodyRequiredPhone numbers to process.
remarkstringbodyOptionalRemark or note sent with the operation.
target_user_idstringbodyRequiredID of the user receiving the numbers.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/number/transfer' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"numbers":"replace-with-numbers","target_user_id":"replace-with-target-user-id","keyword":"replace-with-project-id"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Transfer records

/openapi/v1/number/transfer/list
GET

https://www.sms9527api.com/openapi/v1/number/transfer/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 100
typestringqueryOptionalRecord type filter.
start_timeintegerqueryOptionalStart time as a Unix timestamp.
end_timeintegerqueryOptionalEnd time as a Unix timestamp.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/number/transfer/list?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Reserve all projects

/openapi/v1/reservation/create
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/reservation/create

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringbodyRequiredCountry code, e.g. US; use the country list.
exp_numintegerbodyRequiredNumber quantity requested. · ≥ 1 · ≤ 500

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/reservation/create' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"exp_num":1,"country_id":"US"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Reservation records

/openapi/v1/reservation/list
GET

https://www.sms9527api.com/openapi/v1/reservation/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
statusintegerqueryOptionalStatus filter.
reservation_nostringqueryOptionalReservation number from the reservation list.
country_idstringqueryOptionalCountry code, e.g. US; use the country list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/reservation/list?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Reserve single project

/openapi/v1/reservation/single/create
POST

Creates a single-project reservation (default 28 days). keyword_id must be the 24-character _id from GET /long_term/template/drop.

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/reservation/single/create

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
country_idstringbodyRequiredCountry code, e.g. US; use the country list.
exp_numintegerbodyRequiredNumber quantity requested. · ≥ 1 · ≤ 500
keyword_idstringbodyRequiredProject ID returned by the corresponding project list.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/reservation/single/create' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"exp_num":1,"country_id":"US","keyword_id":"65f1a2b3c4d5e6f7a8b9c0d1"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Create eSIM order

/openapi/v1/esim/order/create
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/esim/order/create

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
package_idstringbodyRequiredeSIM package identifier.
quantityintegerbodyRequiredQuantity to purchase. · ≥ 1 · ≤ 500

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/esim/order/create' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"package_id":"replace-with-package-id","quantity":1}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Extract eSIM order

/openapi/v1/esim/order/extract
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/esim/order/extract

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
order_nostringbodyRequiredOrder number from the order list.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/esim/order/extract' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"order_no":"replace-with-order-no"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

eSIM order list

/openapi/v1/esim/order/list
GET

https://www.sms9527api.com/openapi/v1/esim/order/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
statusintegerqueryOptionalStatus filter.
order_nostringqueryOptionalOrder number from the order list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/esim/order/list?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

eSIM packages

/openapi/v1/esim/package/drop
GET

https://www.sms9527api.com/openapi/v1/esim/package/drop

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/esim/package/drop' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

eSIM price

/openapi/v1/esim/price/config
GET

https://www.sms9527api.com/openapi/v1/esim/price/config

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
package_idstringqueryRequiredeSIM package identifier.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/esim/price/config?package_id=replace-with-package-id' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Create recharge order

/openapi/v1/create/transaction
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/create/transaction

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
amountnumberbodyRequiredRecharge amount.
pay_typestringbodyRequiredPayment method.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/create/transaction' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"amount":1,"pay_type":"replace-with-pay-type"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Deduction records

/openapi/v1/deduction/record
GET

https://www.sms9527api.com/openapi/v1/deduction/record

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/deduction/record?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Recharge records

/openapi/v1/recharge/record
GET

https://www.sms9527api.com/openapi/v1/recharge/record

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/recharge/record?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Support ticket categories

/openapi/v1/ticket/categories
GET

https://www.sms9527api.com/openapi/v1/ticket/categories

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/ticket/categories' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Create support ticket

/openapi/v1/ticket/create
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/ticket/create

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
categorystringbodyOptionalSupport ticket category.
contentstringbodyRequiredSupport ticket content.
priorityintegerbodyOptionalSupport ticket priority.
titlestringbodyRequiredSupport ticket title.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/ticket/create' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"title":"replace-with-title","content":"replace-with-content"}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Support ticket details

/openapi/v1/ticket/detail/{ticket_no}
GET

https://www.sms9527api.com/openapi/v1/ticket/detail/{ticket_no}

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
ticket_nostringpathRequiredTicket number from the ticket list.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/ticket/detail/replace-with-ticket-no' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Support ticket list

/openapi/v1/ticket/list
GET

https://www.sms9527api.com/openapi/v1/ticket/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
statusstringqueryOptionalStatus filter.
categorystringqueryOptionalSupport ticket category.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/ticket/list?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

View inbox message and mark as read

/openapi/v1/message/detail
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/message/detail

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
idintegerbodyRequiredRecord ID from the corresponding list.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/message/detail' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"id":1}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Inbox message list

/openapi/v1/message/list
GET

https://www.sms9527api.com/openapi/v1/message/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
is_readstringqueryOptionalRead status filter: 0 unread, 1 read.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/message/list?page=1&size=20' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Mark inbox message as read

/openapi/v1/message/read
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/message/read

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
message_idintegerbodyRequiredInbox message ID from the inbox message list.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/message/read' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id' \
  -H 'Content-Type: application/json' \
  --data '{"message_id":1}'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Mark all inbox messages as read

/openapi/v1/message/read/all
POST

Write requests require Idempotency-Key. Retry with the same key and request content; do not use a new key while the result is pending or uncertain.

https://www.sms9527api.com/openapi/v1/message/read/all

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Idempotency-KeystringheaderRequired8–128 letters, digits or ._:-. Unique per new operation; reuse for retries.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X POST 'https://www.sms9527api.com/openapi/v1/message/read/all' \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Idempotency-Key: replace-with-unique-request-id'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Unread inbox message count

/openapi/v1/message/unread/count
GET

https://www.sms9527api.com/openapi/v1/message/unread/count

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/message/unread/count' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

{
  "code": 200,
  "data": {
    "count": 3
  },
  "msg": "ok"
}

Free trial countries

/openapi/v1/free_trial/country/list
GET

https://www.sms9527api.com/openapi/v1/free_trial/country/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/free_trial/country/list' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Free trial numbers

/openapi/v1/free_trial/number/list
GET

https://www.sms9527api.com/openapi/v1/free_trial/number/list

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
country_idstringqueryRequiredCountry code, e.g. US; use the country list.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/free_trial/number/list?page=1&size=20&country_id=US' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Free trial SMS code records

/openapi/v1/free_trial/number/msg
GET

https://www.sms9527api.com/openapi/v1/free_trial/number/msg

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.
pageintegerqueryRequiredPage number, starting at 1. · ≥ 1 · ≤ 1000000
sizeintegerqueryRequiredRecords per page. · ≥ 1 · ≤ 500
numberstringqueryRequiredPhone number or number filter.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/free_trial/number/msg?page=1&size=20&number=replace-with-number' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Public free numbers

/openapi/v1/number/free
GET

https://www.sms9527api.com/openapi/v1/number/free

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/number/free' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Country list

/openapi/v1/country/code/drop
GET

https://www.sms9527api.com/openapi/v1/country/code/drop

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/country/code/drop' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Business export domain list

/openapi/v1/domain/drop
GET

https://www.sms9527api.com/openapi/v1/domain/drop

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/domain/drop' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}

Project dropdown list

/openapi/v1/keyword/drop
GET

Returns project names (such as Gmail) in the id field for number management filters, renewals, transfers, batch link resets, and expiry queries. For POST /long_term/generation, use _id from GET /long_term/template/drop instead.

https://www.sms9527api.com/openapi/v1/keyword/drop

Request Parameters

Parameter NameParameter TypeLocationRequiredParameter Description
AuthorizationstringheaderRequiredProfile API Key, formatted as Bearer <API_KEY>.
Accept-LanguagestringheaderOptionalResponse language: zh-CN, en, ru.

Request example

curl -X GET 'https://www.sms9527api.com/openapi/v1/keyword/drop' \
  -H 'Authorization: Bearer <API_KEY>'

Response Example application/json

This illustrates the common envelope; data varies by operation. Check the business code and individual batch results even with HTTP 200.

{
  "code": 200,
  "msg": "ok",
  "data": null
}