Okta Email API

The MyAccount Email API provides operations to enroll, update, and delete emails. The API also provides utilities to create, view, and answer verification challenges. ### API versioning A valid API version in the `Accept` header is required to access the API. Current version: `1.0.0` ```json Accept: application/json; okta-version=1.0.0 ```

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Identity & Access Management BC-620.20

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /idp/myaccount/emails List my account's email addresses · List all Emails #
Ask an LLM
“Which email addresses are on my account?”
“Can I see whether my primary and secondary emails are verified?”
Tell an agent
List all email addresses on my account.
Show my primary and secondary emails.
POST /idp/myaccount/emails Add an email address to my account · Create an Email #
Ask an LLM
“How do I add a secondary email address to my own account?”
“Can I add a new primary email, and does it start unverified?”
Tell an agent
Add {profile} as an email on my account with role {role}.
Add email {profile} to my account and send the email myself ({sendEmail}).
GET /idp/myaccount/emails/{id} Get one of my email addresses · Retrieve an Email #
Ask an LLM
“What's the status of a specific email on my account?”
“Can I see the actions available for one of my email addresses?”
Tell an agent
Get email {id} on my account.
Show the status of my email address {id}.
DELETE /idp/myaccount/emails/{id} Delete an email from my account · Delete an Email #
Ask an LLM
“Can I remove an email address from my account?”
“Which of my email addresses am I allowed to delete?”
Tell an agent destructive · confirm first
Delete email {id} from my account.
Remove unverified email address {id} from my profile.
POST /idp/myaccount/emails/{id}/challenge Send a verification code to an email · Send an Email Challenge #
Ask an LLM
“How do I verify a new email address on my account?”
“Will I get a one-time passcode to confirm an email change?”
Tell an agent
Send a confirmation challenge to email {id} with state {state}.
Email a one-time verification code to my address {id} (state {state}).
POST /idp/myaccount/emails/{id}/challenge/{challengeId}/verify Verify an email with its one-time code · Verify an Email OTP #
Ask an LLM
“How do I confirm an email change with the code I was sent?”
“What do I submit to finish verifying a new email address?”
Tell an agent
Verify email {id} challenge {challengeId} with code {verificationCode}.
Confirm my address {id} using passcode {verificationCode} for challenge {challengeId}.

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/okta:okta-email-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

okta-email-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MyAccount Management Email API
  version: 2025.01.1
  description: 'APIs for managing a user''s own emails, phones, profile, and app authenticators.

    > **Note:** The MyAccount API doesn''t support delegated authentication.'
  termsOfService: https://developer.okta.com/terms/
  contact:
    name: Okta Developer Team
    url: https://developer.okta.com/
    email: devex-public@okta.com
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  x-logo:
    url: logo.svg
    backgroundColor: transparent
    altText: Okta Developer
servers:
- url: https://{yourOktaDomain}
  variables:
    yourOktaDomain:
      default: subdomain.okta.com
      description: The domain of your organization. This can be an official Okta domain (for example, `okta.com` or `oktapreview.com`) or one of your configured custom domains.
tags:


# --- truncated at 32 KB (38 KB total) ---
# Full source: https://artifacts.apis.io/okta/openapi/okta-email-api-openapi.yml