Logto My account API

Account routes provide functionality for managing user profile for the end user to interact directly with access tokens.

Business capability
Identity & Access Management BC-620.20

Operations 29

GET /api/my-account Get profile #
PATCH /api/my-account Update profile #
PATCH /api/my-account/profile Update other profile #
POST /api/my-account/password Update password #
GET /api/my-account/mfa-settings Get MFA settings #
PATCH /api/my-account/mfa-settings Update MFA settings #
GET /api/my-account/logto-configs Get logto config #
PATCH /api/my-account/logto-configs Update logto config #
GET /api/my-account/identities/{target}/access-token Retrieve the access token issued by a third-party social provider #
PUT /api/my-account/identities/{target}/access-token Update the access token for a social identity by verification ID #
GET /api/my-account/sso-identities/{connectorId}/access-token Retrieve the access token issued by a third-party enterprise SSO provider #
POST /api/my-account/primary-email Update primary email #
DELETE /api/my-account/primary-email Delete primary email #
POST /api/my-account/primary-phone Update primary phone #
DELETE /api/my-account/primary-phone Delete primary phone #
POST /api/my-account/identities Add a user identity #
DELETE /api/my-account/identities/{target} Delete a user identity #
GET /api/my-account/mfa-verifications Get MFA verifications #
POST /api/my-account/mfa-verifications Add a MFA verification #
PUT /api/my-account/mfa-verifications/totp Create or replace the authenticator app #
POST /api/my-account/mfa-verifications/totp-secret/generate Generate a TOTP secret #
POST /api/my-account/mfa-verifications/backup-codes/generate Generate backup codes #
GET /api/my-account/mfa-verifications/backup-codes Get backup codes #
PATCH /api/my-account/mfa-verifications/{verificationId}/name Update a MFA verification name #
DELETE /api/my-account/mfa-verifications/{verificationId} Delete an MFA verification #
GET /api/my-account/sessions Get all active sessions #
DELETE /api/my-account/sessions/{sessionId} Revoke a session by ID #
GET /api/my-account/grants Get all active grants #
DELETE /api/my-account/grants/{grantId} Revoke a grant by ID #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/logto-my-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

logto-my-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Logto API references My account API
  description: 'API references for Logto services.


    Note: The documentation is for Logto Cloud. If you are using Logto OSS, please refer to the response of `/api/swagger.json` endpoint on your Logto instance.'
  version: Cloud
servers:
- url: https://[tenant_id].logto.app/
  description: Logto endpoint address.
security:
- OAuth2:
  - all
tags:


# --- truncated at 32 KB (77 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/logto/refs/heads/main/openapi/logto-my-account-api-openapi.yml