Skip to main content
POST
Create Authentication Flow

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

applicationId
string<uuid>
required

The ID of the application

Body

application/json
name
string
required

Name of the authentication flow

methods
enum<string>[]
required

Authentication methods in this flow

Minimum array length: 1
Available options:
username_password,
authenticator,
custom
description
string

Description of the authentication flow

Whether this is the recommended authentication flow

custom_fields
object[]

Custom fields for this authentication flow

Response

authentication flow created successfully

id
string<uuid>

Unique identifier for the authentication flow

name
string

Name of the authentication flow

description
string | null

Description of the authentication flow

Whether this is the recommended authentication flow

methods
string[]

Authentication methods in this flow

custom_fields
object[]

Custom fields for this authentication flow

created_at
string<date-time>

Timestamp when the authentication flow was created

updated_at
string<date-time>

Timestamp when the authentication flow was last updated