QA_API_STAGING_MODE

Automated SMS Verification Testing for PatientFi (patientfi.com)

Writing Playwright, Puppeteer, or Selenium flows that break at phone verification? PatientFi (patientfi.com)'s registration layer flags headless sessions and rejects standard VoIP-range numbers. GotSMS exposes a clean REST API over dedicated physical carrier lines so your CI pipeline gets a real, deliverable SMS every run.

// Provision a line and poll for the incoming code

// Same headers as the official docs (app.gotsms.org/docs/api/v1)
const headers = {
  Authorization: "Bearer " + process.env.GOTSMS_API_TOKEN,
  "Content-Type": "application/json",
  Accept: "application/json",
};

// plan_id: the plan's UUID from GET /api/rents/plans
const rent = await fetch("https://app.gotsms.org/api/rents", {
  method: "POST",
  headers,
  body: JSON.stringify({ plan_id: "patientfi-patientficom-plan-uuid" }),
}).then((r) => r.json());

const messages = await fetch(
  `https://app.gotsms.org/api/numbers/${rent.data.id}/messages`,
  { headers }
).then((r) => r.json());

Built for CI/CD, not manual QA

Your test suite polls GET /api/messages/unread and reads the code the moment it lands — no manual step. Incoming SMS can also be forwarded to a Telegram bot or email.

Get API credentials

Enable API access in your profile and generate a token — every endpoint is documented.

Read API Docs

Disclaimer: All product names, logos, brands, and registered trademarks referenced on this page (including PatientFi (patientfi.com) and corresponding logos) are the sole property of their respective trademark holders. GotSMS, operated by Aurora Art Trading Inc, is an independent US telecommunications provider. References to third-party services are made strictly under the nominative fair use doctrine (15 U.S.C. § 1115(b)(4)) for descriptive, comparative, and compatibility troubleshooting purposes. GotSMS is not affiliated with, sponsored by, or endorsed by PatientFi (patientfi.com) or their respective parent companies.

News Support