Okta Phone API

The MyAccount Phone API provides operations to enroll, update, and delete phone numbers. 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
Business capability
Identity & Access Management BC-620.20

Operations 6

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/phones List my account's phone numbers · List all Phones #
Ask an LLM
“Which phone numbers are on my account?”
“Can I see whether my phones are verified?”
Tell an agent
List my phone numbers.
Show every phone on my account.
POST /idp/myaccount/phones Add a phone number to my account · Create a Phone #
Ask an LLM
“How do I add a new phone number to my profile?”
“Can I have a verification code sent when I add a phone?”
Tell an agent
Add phone {profile} to my account.
Add phone {profile} and send a code by {method}.
GET /idp/myaccount/phones/{id} Get one of my phone numbers · Retrieve a Phone #
Ask an LLM
“What's the status of one phone on my account?”
“Can I look up a phone by its ID?”
Tell an agent
Get my phone {id}.
Show details of phone {id}.
DELETE /idp/myaccount/phones/{id} Remove a phone number from my account · Delete a Phone #
Ask an LLM
“How do I remove an old phone number from my account?”
“Can I delete a phone I no longer use?”
Tell an agent destructive · confirm first
Delete my phone {id}.
Remove phone {id} from my account.
POST /idp/myaccount/phones/{id}/challenge Send a verification code to a phone · Send a Phone Challenge #
Ask an LLM
“How do I get a verification code texted or called to my phone?”
“Can I resend the code if it never arrived?”
Tell an agent
Send a verification code to phone {id} by {method}.
Resend the {method} challenge to phone {id} with retry {retry}.
POST /idp/myaccount/phones/{id}/verify Verify a phone with its code · Verify a Phone Challenge #
Ask an LLM
“How do I confirm my phone with the code I received?”
“What happens after a phone's code is verified?”
Tell an agent
Verify phone {id} with code {verificationCode}.
Confirm code {verificationCode} for my phone {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/okta:okta-phone-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-phone-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MyAccount Management Phone 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 (32 KB total) ---
# Full source: https://artifacts.apis.io/okta/openapi/okta-phone-api-openapi.yml