Numix US

Integration guide

SMS receiving API documentation

Integrate with Numix using documented authentication, scopes and rental message endpoints. Review examples, errors, polling limits and content retention.

Open developer workspace

Authenticate and choose scopes

Use the same-origin /v1 API base on sms-666.top. Browser workflows use the Numix session cookie. External integrations use Authorization: Bearer with a scoped API key created in your signed-in developer workspace. Store that key server-side, grant only the required scopes and revoke it when no longer needed. The examples below use placeholders and contain no real credentials.

Required credentials by endpoint
EndpointRequired scope or session
GET /v1/rentals and GET /v1/rentals/:rentalIdrentals:read
GET /v1/rentals/:rentalId/messages and /messages/latestmessages:read
GET /v1/rentals/:rentalId/verification-codeverification_codes:read
POST /v1/rentals/:rentalId/verification-code/pollverification_codes:poll; account action access also checked
POST /v1/rentals/:rentalId/messages/pollBrowser session and account action access; not an API-key route
POST /v1/rentals/:rentalId/renewBrowser session, account action access and Idempotency-Key
curl https://sms-666.top/v1/rentals \
  -H "Authorization: Bearer YOUR_API_KEY"

Read stored messages

Replace RENTAL_ID with an ID returned for your account. This GET reads stored records; it does not initiate provider polling. The response includes items, with contentAvailable and contentExpiresAt on each message. Do not write sender, body, codes or full request URLs into analytics or application logs.

curl https://sms-666.top/v1/rentals/RENTAL_ID/messages \
  -H "Authorization: Bearer YOUR_API_KEY"

// Example of a valid empty stored-message list:
{ "items": [], "page": { "nextCursor": null } }

List limits are endpoint-specific

The current rental and stored-message routes return bounded lists with page.nextCursor set to null; they do not consume cursor or limit query parameters. Do not build a cursor loop on these routes. The anonymous public-products endpoint separately supports cursor pagination with a maximum limit of 100. Follow each endpoint’s actual contract rather than assuming one global pagination scheme.

Poll only when explicitly needed

The code-poll endpoint checks account capability, rental access and provider readiness before contacting the provider. Its response identifies outcome, polledAt, nextPollAt and a nullable latestCode. Respect nextPollAt and any returned retry timing. Polling more often does not make an external sender deliver a message sooner.

  • EMPTY: no new usable content was returned by the check.
  • MESSAGE_STORED: incoming content was stored.
  • MESSAGE_UNCHANGED: the check did not produce a new distinct message.
  • Provider errors or a locked poll are not permission to retry continuously.
curl -X POST https://sms-666.top/v1/rentals/RENTAL_ID/verification-code/poll \
  -H "Authorization: Bearer YOUR_API_KEY"

Handle errors and content expiry

Errors contain a stable code, message and requestId. Use the request ID for support without sharing private content. Missing and inaccessible resources do not reveal another account’s existence. Message access requires a valid owned rental; retained metadata does not imply retained message content.

Recovery decisions
ConditionSafe response
Missing or invalid authenticationCorrect the session or API key; never embed a secret in a public page.
Missing scope or unavailable account capabilityReview permissions in the workspace; do not retry to bypass the check.
NO_MESSAGE or an empty listNo usable stored message is available. A supported explicit poll is a separate choice.
Expired content or inaccessible rentalCheck contentExpiresAt and rental status. Purged content cannot be recovered through another read.
RATE_LIMITEDWait for the returned retry timing before a permitted retry.
Provider unavailable or uncertain transactionPreserve context, check status and use support; do not repeat purchases automatically.