Your balance is money and your keys are access, so sign-in deserves more than a password. This page covers the controls every account and every team has. Single sign-on, provisioning and network allow-lists are in the Enterprise security guide; how we protect the platform itself is on Security at API.SH.
Scan the QR code with any authenticator app (or type the setup key).
Enter the 6-digit code it shows to confirm.
Save your 10 recovery codes somewhere safe. Each works once, and they're shown only this one time.
From then on, every sign-in asks for a code after the first step, whether you sign in with a password, an emailed code, Google or a password reset. Lost your phone? Use a recovery code in place of the 6-digit code, then set up two-factor again and get a fresh set.
API keys are not affected: calls with a key never ask for a code. Members who sign in with your company's single sign-on use the checks of your identity provider.
Require 2FA for a team
Owners and admins of a team on a paid plan can turn on require two-factor login under Team → security and domains. The owner has to be enrolled first.
Members without two-factor can still sign in, but they can't open that team (no balance, keys, logs or billing) until they enroll; the dashboard walks them through it. The team's API keys keep working the whole time.
Verified domains
Prove your company owns example.com, and colleagues with a verified @example.com email can find your team without waiting for an invite. Available on paid plans, up to 20 domains per team.
In Team → security and domains, add the domain.
Publish the TXT record we show, at _apish.example.com with the value apish-verify=….
Press verify. DNS can take a few minutes to update.
mode
what happens
off
People on the domain can't join on their own. Invites only.
suggest
They see "join" for your team at sign-in and in the team switcher. One click.
auto
They're added as soon as they sign in, with the default role you choose (developer, billing or viewer; never admin or owner).
Joins count toward your member limit. A domain belongs to one team at a time, and public email providers (gmail.com and the like) can't be claimed.
Support access you can see
When you ask for help, an API.SH support engineer may open your account to look at the problem. Every visit is logged with its reason and listed in Settings → support access, so nothing happens behind your back. Calls made during a support visit are never charged, and support can't change your members, invites or ownership.
Sessions
A dashboard sign-in lasts 30 days on that browser.
Settings lists your signed-in sessions by device and browser. Sign out the ones you don't recognize, or all others at once.
Changing your password signs out every other session.
Leaving or being removed from a team ends your sessions in that team immediately.
Enterprise teams can make members sign in again after 1 to 720 hours: see session length.