Skip to content

Launch an API ​

Every API you sell starts in the launch wizard. It takes about a minute and ends with a live developer portal, a secret key for your backend and a status light that turns green when your first request comes in.

The wizard opens by itself after you sign up. Later, open it from the API switcher at the top of the sidebar with Launch a new API.

The four steps ​

Name ​

FieldWhat it does
API nameShown on your portal and in emails. Up to 80 characters
Portal addressYour portal's address on microauth.dev. Filled in from the name, and you can Change it. 3 to 40 lowercase letters, digits or hyphens. You can add your own domain later
WorkspaceOnly shown if you can manage more than one workspace

If the address is taken, the wizard suggests a free one. Your API's base URL is not needed yet. Add it later on the Quickstart page settings so the examples your customers see point at your real API.

Pricing ​

Pick Free, Pay as you go or Monthly plans. Each card says what your customers will pay. Pay as you go starts at $0.001 per request with a $1.00 welcome credit, and Adjust lets you change both before you launch. Everything can be changed later on the Pricing page.

Connect ​

Click Launch and your portal goes live. The next screen walks you through adding the SDK to your API.

Start by picking your framework. FastAPI is the only SDK so far. On any other stack, follow the HTTP integration guide instead. The steps below the picker follow your choice:

  1. Install the SDK. Pick pip, uv or Poetry. The commands in the later steps use the tool you picked, and the dashboard remembers it.
  2. Add your secret key. Your SDK secret key (mas_...) is already in the .env snippet, marked Shown once. Copy it and keep it somewhere safe. If you try to leave before copying it, the wizard asks first. Lost it anyway? Generate a new key in this step replaces it.
  3. Protect a route. A short main.py with the lines to add highlighted. The route comes from your sample request path.
  4. Run the check. It verifies the key and connects your API. The status under the command updates by itself, and I ran it, check now refreshes it at once.
  5. Send a test request. This step opens once the SDK connects. Create a test key and run the curl command that comes with it.

Finished steps get a check mark and fold away. Click one to open it again. The steps match the Quickstart.

Live ​

When the first request is counted, the wizard moves to the last step. Next up lists only what applies to you: connecting Stripe if you charge, branding your portal and sharing your portal link.

You can leave the wizard at any time with Skip to dashboard. Everything it shows is also on the API's Overview page.

Send a test request ​

You do not need a real customer to see your API go live. Create a test key gives you a key for a built-in test customer, together with a ready-to-run curl command for the route you protected.

  • The test customer is never charged. It does not appear in your customer list or your stats, and it does not count toward your plan's developers.
  • Each API has one test key at a time. Create a new test key revokes the previous one.
  • The command calls http://127.0.0.1:8000 until you set your API's base URL on the Quickstart page settings.

The test key panel is in the last setup step on the Overview until your API is live, and on Settings after that. Only owners and admins can create or revoke a test key.

The Overview page ​

The Overview follows your integration, so it only shows what you need right now:

StatusWhat the Overview shows
Waiting for your API to connectThe same setup steps as the wizard. The status sits under Run the check, with I ran it, check now and a Not connecting? link. The SDK has never synced, so run the check command or start your app
Your API is connectedThe first four steps are checked off and Send a test request is open, with the test key panel. Call a protected route with a test key or a customer key
Your API is liveRequests and charges for the last 30 days, your customer count, this month's requests, a daily chart, your next steps and a one-line SDK status with the SDK and its version. Click the status to see the setup steps again

The Online status means the SDK synced in the last three minutes. Idle means it has not, which is normal when your app is stopped or scaled to zero. If the status will not move, see the SDK is not connecting.

Next steps ​

Once your API is live, the Overview lists what is left to do, each with a button that takes you to the right place. Steps you need before you can get paid come first and are marked Needed to get paid.

StepDone when
Choose pricingYou picked a preset, turned on charging, or turned pay as you go off
Connect StripeStripe keys are saved. Only listed when you charge
Brand your portalYou added a logo, tagline or description, or changed the primary color. Optional
Get your first customerSomeone has signed up on your portal. Copy link copies your portal address. Optional
Add a custom domainA custom domain is verified. Optional, and only listed when your MicroAuth plan includes custom domains

Hide removes the list from the Overview. The same pages stay in the sidebar.

MicroAuth is a product of Zyref, LLC.