Docs

Relevant API Endpoints for Passwordless Connections

When working with Passwordless Connections, the following API endpoints will be helpful to you.

Authentication API

POST /passwordless/start

The POST /passwordless/start endpoint can be called to begin the Passwordless authentication process. Depending on the parameters provided to the endpoint, Auth0 begins the user verification process by sending one of the following:

  • A single-use code via email or SMS message
  • A single-use link via email

Management API

The Management API features several endpoints designed to help you manage your connections, including your Passwordless ones.

To call any of the Management API endpoints, you will need to obtain an Access Token.

Get all connections

The GET /api/v2/connections endpoint retrieves all connections for your tenant that match the parameters you provide. You can use this endpoint to obtain the connection ID for your Passwordless connection (indicated by the strategy = sms parameter), which you'll need to make changes to the connection.

Create a connection

The POST /api/v2/connections endpoint allows you to create new Passwordless connections.

Get a connection

The GET /api/v2/connections/{id} endpoint allows you to return information about a connection based on the connection ID you provided.

Delete a connection

The DELETE /api/v2/connections/{id} endpoint allows you to delete the connection associated with the ID you provided.

Update a connection

The PATCH /api/v2/connections/{id} endpoint allows you to update the connection associated with the ID you provide.

Delete a user from a connection

The DELETE /api/v2/connections/{id}/users endpoint allows you to delete a user (identified using the email address you provide) from the connection associated with the ID you include with your call.