Users

Send phone verification code

Send a one-time code on the requested channel. Defaults to the first available channel from server policy. Pass channel="sms" to request SMS (only honoured for SMS-allowlisted destinations) or channel="inbound_challenge" to receive challenge details to text in. Expensive outbound destinations always downgrade to an inbound challenge.

post/users/@me/phone/send-verification

Request body

phonestring required
channel'sms' | 'inbound_challenge'

Channel to deliver the OTP on. Defaults to the first available channel from server policy. Server may override to an available fallback when the requested channel is disabled.

Response

Success

OR

Changes

Changed in 1 of the 3 revisions of this API.20

    • removed the INVALID_PACK_TYPE enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INVALID_PACK_TYPE enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INVALID_PACK_TYPE enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INVALID_PACK_TYPE enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the MAX_PACKS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the MAX_PACKS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the MAX_PACKS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the MAX_PACKS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the MAX_PACK_EXPRESSIONS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the MAX_PACK_EXPRESSIONS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the MAX_PACK_EXPRESSIONS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the MAX_PACK_EXPRESSIONS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the PACK_ACCESS_DENIED enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the PACK_ACCESS_DENIED enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the PACK_ACCESS_DENIED enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the PACK_ACCESS_DENIED enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the UNKNOWN_PACK enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the UNKNOWN_PACK enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the UNKNOWN_PACK enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the UNKNOWN_PACK enum value from the response property for the response status

      response-property-enum-value-removed

    This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog