Getting started
Overview
What the Firsty API does and how to make a first call.
Onboard your Agent
One prompt hands your coding agent the whole local setup. It reads our setup guide, installs the Firsty CLI and claims sandbox credentials, so you can provision eSIMs without leaving your editor.
The Firsty API gives you worldwide mobile data in a handful of calls. Provision an eSIM, attach a data package, and hand your user an activation code. No carrier contracts, no SIM logistics.
Everything below assumes you have API credentials. If you don't, sandbox
credentials are one command away: npx firsty init claims a set and verifies
them, no account needed. See
Credentials, or
talk to sales when you're ready for production access.
What you can build
- Travel apps. Sell data bundles at checkout and activate them in-app.
- Device fleets. Provision connectivity for hardware as it ships.
- Embedded connectivity. Bundle data into your own product's onboarding.
Your first call
Every API request carries a bearer token; only the token exchange itself
doesn't. See Authentication
for that exchange, or let the CLI mint one with
export FIRSTY_TOKEN="$(npx firsty auth token)".
Plan references are either client-specific (
C...) or shared (S...), so what a request returns depends on the account asking.
Where to go next
| Guide | What it covers |
|---|---|
| Quickstart | Activate an eSIM end to end |
| Authentication | Credentials, tokens and environments |
| eSIM lifecycle | States a profile moves through |
| Embedded web app | Embed Firsty instead of building against the API |