Skip to main content
POST
Import saved logins
  • Each login is saved or refused on its own; results lists, by index, the saved login or its error.
  • A login with no password is saved as a code-only login (sign_in “code”) where the account may save one.
  • With replace_saved, a login whose username is already saved for its website replaces that saved login’s password and authenticator secret (replaced: true), which needs the person’s Logins PIN as changing a password does: without it, an API key or app gets login_unlock_required with a dashboard_url where the person enters it. A Personal login a sign-in verified is never replaced. A replaced login keeps the environments it can be used in, whatever the item’s environments.
  • The values pass through this client and its model provider. Warn the user first, or send only deliver “dashboard” to get the Dashboard’s import from a password manager instead, which reads the export file in the person’s browser.
  • While the account’s secure login storage is first being set up, an import of up to 25 logins answers 202 and holds each login as a pending login (pending_login) for up to 10 minutes, saved once storage is ready; a larger one answers login_storage_pending, to be repeated. Read each with logins.get_pending.
  • Callers: an API key, an MCP OAuth token or a Dashboard session.
  • Permission: logins:manage.
  • Effect: Creates or changes something.
  • Errors: pin_required, login_unlock_required, login_storage_pending, and the errors any request can get.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
logins
any[]

Up to 1,000 logins, each a LoginInput

Required array length: 1 - 1000 elements
replace_saved
boolean

A login whose username is already saved for its website replaces that saved login's password and authenticator secret, instead of being saved again. Needs the Logins PIN, as changing a password does. A Personal login a sign-in verified is never replaced.

deliver
enum<string>

Return a Dashboard link where the person enters the login, so no secret reaches this client

Available options:
dashboard

Response

Each login's outcome; With deliver dashboard: where to finish

results
object[]
required