Appearance
Developer portal
Every API gets a portal at https://<slug>.microauth.dev, live the moment you create the API. It carries your name, logo and color, and it is where your customers do everything themselves. You set it up on the Branding tab, in four pages: Appearance, Links, Domain and Email. Each page has its own Save button, and View portal opens the live portal in a new tab. The code samples your customers copy are set on the Settings tab.
What your customers get
| Page | What it does |
|---|---|
| Overview | Balance, plan and requests this month, plus a short guide: create a key, make a request, read your docs |
| API keys | Create and revoke keys, up to 20 per team. A new key is shown once, with a ready to run request |
| Usage | Requests per day and per key, billable and not |
| Billing | Balance, top ups, plans, automatic top ups with the card they charge, the amount that triggers the low balance email, and the full history |
| Team | Teammates and their roles, when your plan includes customer teams |
| Account | Profile for their name and email, Security for their password, passkeys and two step verification, Sessions for signed in devices, Notifications to choose which optional emails they get, and Your data to download their data or delete their account |
With billing off, there is no Billing page. Overview shows the rate limit instead of the balance and plan, and Usage leaves out what's billable and charged.
Customers sign up in three steps. They enter their email, type the 6 digit code emailed to them, then choose their name, a company name and a password. The company becomes their team.
Branding
Appearance sets what your customers see on the portal and in every email MicroAuth sends them. A preview next to the form shows your changes before you save them.
- Logo. Square works best, at least 128 pixels. PNG, JPEG or WebP up to 512 KB. It is saved as soon as you upload it.
- Tagline, shown on the sign in, sign up and overview pages.
- Accent color, used for buttons. Pick it, or type
#and six hex digits, like#1d4ed8.
Until you upload a logo, the portal shows the first letter of your API's name on a square in your accent color.
The portal shows a small Powered by MicroAuth badge in its footer and on the sign in pages, and your customer emails end with a short line saying MicroAuth sent them for you. On plans that can hide MicroAuth branding, turn off Show Powered by MicroAuth under MicroAuth attribution to remove both. It's on until you turn it off, and it comes back if you move to a plan that can't hide it. The pricing page shows which plans can.
The footer also has a Report abuse link to MicroAuth, with the page's address filled in, so anyone can tell us about a portal that misuses MicroAuth. It's always there on your microauth.dev address. On a custom domain it goes away along with the badge.
Sign up modes
Choose who can sign up on the Settings tab, under Sign up:
| Mode | Who gets in |
|---|---|
| Open | Anyone can sign up and start using your API right away |
| Approval | Anyone can sign up, and you approve each customer before their keys work |
| Invite only | Only people you invite from the Customers tab |
Sign up and billing are separate settings, so every mode works with billing on or off. Sell to partners you vet with Approval or Invite only and billing on, or run an internal API with Invite only and billing off.
Links
These live under Links. All five show in the footer of every portal page, and some show in more places. Leave a link empty to hide it.
| Link | Where it shows |
|---|---|
| Documentation | The footer, the portal's header and its overview |
| Website | The footer |
| Support email | The footer and the notes that tell customers how to reach you. It's also the reply address of customer emails |
| Terms of service and Privacy policy | The footer and the sign up page. Without a privacy policy, the portal shows a default notice |
Code samples
The code your customers copy on the portal, and the test call on the Connect tab, use the settings under Settings, Code samples. A preview under the fields shows the request as you type.
| Setting | Used for |
|---|---|
| Your API's base URL | The address in the code samples, like https://api.example.com |
| Example request | Optional. A real GET request on your API that the code samples call, like /v1/items/42?lang=en. Leave it empty to call the base URL. You can paste the whole address too, and only the path after your base URL is kept |
| Key header | The header customers send their key in. X-API-Key by default. Pass the same name to the SDK with header_name |
Portal address
Your portal's address comes from the API name you picked, like weather-api.microauth.dev. To change it, open Domain and edit Portal address. The old address stops working right away and shows a page saying the portal doesn't exist, so update any links you've shared. A custom domain isn't affected. Passkeys your customers made on the old address stop working, so they sign in with their password and add a new one. See when your portal address changes.
Custom domain
On plans that include a custom domain, you can serve the portal from your own subdomain, like developers.example.com. HTTPS is set up for you. The pricing page shows which plans include it.
Open Domain, enter the domain under Custom domain and click Add domain.
Add the two records the dashboard shows where your DNS is managed:
Type Name Value CNAMEdevelopers.example.com<slug>.microauth.devTXT_microauth.developers.example.comThe token from the dashboard Wait a few minutes. MicroAuth checks pending domains every 10 minutes, or click Check now, up to 20 times an hour.
The badge moves from Waiting for DNS to Issuing certificate once the records are found, then to Live, usually within a couple of minutes. Your microauth.dev address keeps working the whole time.
Cloudflare
Set the CNAME to DNS only, the grey cloud. With the orange cloud on, Cloudflare hides the record and the certificate can't be issued.
If a check fails, the badge says Check failed and the dashboard shows what it found. The usual causes are a missing TXT record, a CNAME that points somewhere else, or a proxied record. Only subdomains are supported, because most DNS providers can't put a CNAME on a bare domain.
Send visitors to your domain
Once the domain is live, turn on Send visitors from <slug>.microauth.dev to your domain. Page visits and saved links on the microauth.dev address then go to the same page on your domain. Developers signed in on the old address sign in again once. Keys and the SDK aren't affected.
The redirect pauses on its own while the domain isn't live, for example after a failed DNS check, and comes back when it is. Changing or removing the domain turns it off.
Customer teams
On plans that include customer teams, customers can invite teammates from the portal's Team page. The pricing page shows which plans include them. Everyone shares the team's balance, plan and keys, with one of three roles:
| Role | Can do |
|---|---|
| Admin | Everything, including inviting and removing teammates |
| Developer | Create and revoke API keys, see usage |
| Billing | Top up, change plans, manage cards and invoices |
With billing off, the Billing role sees usage and nothing more.
A team can have up to 50 members, and pending invites count toward that. Invites expire after 7 days. Billing emails go to the team's admins and billing members, not to developers, and each of them can turn the optional ones off under Notifications on their own Account page.
Members get an email when their role changes or they're removed from the team, and when they become an admin because the last admin left. Admins also get Team activity emails when someone joins or leaves, or a teammate creates or revokes an API key. It's on by default, and each admin can turn it off under Notifications. The teammate who made the change doesn't get one.
A member who deletes their account leaves the team. When the last member deletes theirs, the whole customer goes with it, so a team with a paid plan has to cancel it first. See requests from your customers.