Skip to main content
POST
Submit password credentials to a login flow

Query Parameters

flow
string
required

Flow identifier returned by the matching create-flow endpoint. Submit/update requests must use the same flow id.

Body

application/json

self-service flow update payload. Pass the flow id in the query string and include the fields required by the selected method.

JSON payload used to submit password credentials to an login flow.

method
enum<string>
required

Authentication method. The mobile/web client submits password for password login.

Available options:
password
csrf_token
string
required

CSRF token copied from the login flow UI node when required.

password_identifier
string<email>
required

User login identifier. The app sends the account email address.

password
string<password>
required

Plain-text password entered by the user. Send only over HTTPS.

Response

Successful login flow response. The app reads session_token from this payload and uses it as the authenticated session token.

Response returned after a successful API login flow.

session_token
string

Bearer/session token used by the client for authenticated API calls.

session
object

session object for the authenticated identity.

identity
object

identity object. Includes identity id and traits when returned by the system.