This list of Auth0 actions allows you to get, create, and update users.

Configure your Vault connection

To configure a Vault connection for your Auth0 actions, you will need to create a Machine-to-Machine application and use Tenant domain, and :
Remember to authorize your Machine-to-Machine application to access the Management API and select the right scopes (eg. update:users_app_metadata).

Create user

Create a user.

Input settings

ParameterDescription
BodyThe payload of Auth0 user properties to add. To learn more, read Create a user API documentation.

Output settings

You can find the expected response and status codes at Create a user API documentation.

Get user

Retrieve user details.

Input settings

ParameterDescription
User IDID of the user to retrieve. To learn more, read <a api="" auth0.com="" docs="" get-users-by-id="" https:="" management="" users="" v2="">Get a user</a> API documentation.

Output settings

You can find the expected response and status codes at Get a user API documentation.

Update user

Update a user.

Input settings

ParameterDescription
User IDID of the user to update.
BodyThe payload of Auth0 user properties to update. To learn more, read Update a user API documentation.

Output settings

You can find the expected response and status codes at Update a user API documentation.

Custom API Request

Send a custom API request to Auth0 API endpoints.
Dashboard > Customize > Flows > Integrations > Auth0

Input settings

ParameterDescription
PathThe API endpoint absolute pathname.
( Example: /api/v2/organizations )
Note: Some endpoints, for example: Get a user , require URI encoded parameters when not using alphanumeric characters, such as: -, ., _, or ~, characters ).
To do this, you can use the encodeURIComponent function:
{{ functions.encodeURIComponent(context.user.user_id) }}
MethodAvailable HTTP methods include:
  • GET
  • POST
  • PUT
  • PATCH
  • DELETE
BodyThe body of the request.
HeadersThe headers of the request.
URL ParamsThe URL parameters. These parameters are automatically URL-encoded.

Output settings

You can find the expected response and status codes at Auth0 Management API documentation.