Verification codes

Request and send a verification code

Request a verification code for the provided identifier (email/phone). if you're using email as the identifier, you need to setup your email connector first. if you're using phone as the identifier, you need to setup your SMS connector first.

post/api/verification-codes

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/verification-codes
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Request body

OR

Response

Verification code requested and sent successfully.

Changes

No recorded changes to this operation across all 8 revisions of this API.