---
title: "GET /flows/executor/{flow_slug}/"
method: GET
path: "/flows/executor/{flow_slug}/"
tags: ["flows"]
---

# GET /flows/executor/{flow_slug}/

`GET /flows/executor/{flow_slug}/`

Get the next pending challenge from the currently active flow.

## Path parameters

- `flow_slug` string, required

## Query parameters

- `query` string, required

## Response `200`

- union
  - AccessDeniedChallenge — Challenge when a flow's active stage calls `stage_invalid()`.
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `error_message` string
  - AppleLoginChallenge — Special challenge for apple-native authentication flow, which happens on the client.
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `client_id` string, required
    - `scope` string, required
    - `redirect_uri` string, required
    - `state` string, required
  - AuthenticatorDuoChallenge — Duo Challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `activation_barcode` string, required
    - `activation_code` string, required
    - `stage_uuid` string, required
  - AuthenticatorEmailChallenge — Authenticator Email Setup challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `email` string, nullable
    - `email_required` boolean
  - AuthenticatorSMSChallenge — SMS Setup challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `phone_number_required` boolean
  - AuthenticatorStaticChallenge — Static authenticator challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `codes` string[], required
  - AuthenticatorTOTPChallenge — TOTP Setup challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `config_url` string, required
  - AuthenticatorValidationChallenge — Authenticator challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `device_challenges` DeviceChallenge[], required
      - `device_class` 'static' | 'totp' | 'webauthn' | 'duo' | 'sms' | 'email', required
      - `device_uid` string, required
      - `challenge` object, required
      - `last_used` string, date-time, nullable, required
    - `configuration_stages` SelectableStage[], required
      - `pk` string, uuid, required
      - `name` string, required
      - `verbose_name` string, required
      - `meta_model_name` string, required
  - AuthenticatorWebAuthnChallenge — WebAuthn Challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `registration` object, required
  - AutosubmitChallenge — Autosubmit challenge used to send and navigate a POST request
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `url` string, required
    - `attrs` object, required
    - `title` string
  - CaptchaChallenge — Site public key
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `site_key` string, required
    - `js_url` string, required
    - `interactive` boolean, required
  - ConsentChallenge — Challenge info for consent screens
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `header_text` string
    - `permissions` ConsentPermission[], required
      - `name` string, required
      - `id` string, required
    - `additional_permissions` ConsentPermission[], required
      - `name` string, required
      - `id` string, required
    - `token` string, required
  - DummyChallenge — Dummy challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `name` string, required
  - EmailChallenge — Email challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
  - EndpointAgentChallenge — Signed challenge for authentik agent to respond to
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `challenge` string, required
    - `challenge_idle_timeout` integer, required
  - FlowErrorChallenge — Challenge class when an unhandled error occurs during a stage. Normal users are shown an error message, superusers are shown a full stacktrace.
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `request_id` string, required
    - `error` string
    - `traceback` string
  - FrameChallenge — Challenge type to render a frame
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `url` string, required
    - `loading_overlay` boolean
    - `loading_text` string, required
  - IdentificationChallenge — Identification challenges with all UI elements
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `user_fields` string[], nullable, required
    - `pending_user_identifier` string, nullable
    - `password_fields` boolean, required
    - `allow_show_password` boolean
    - `application_pre` string
    - `application_pre_launch` string
    - `flow_designation` 'authentication' | 'authorization' | 'invalidation' | 'enrollment' | 'unenrollment' | 'recovery' | 'stage_configuration', required
    - `captcha_stage` CaptchaChallenge — Site public key
      - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
        - `title` string
        - `background` string
        - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
          - `light` string, nullable
          - `dark` string, nullable
        - `cancel_url` string, required
        - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
        - `messages` FlowMessage[]
          - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
          - `message` string, required
      - `component` string
      - `response_errors` object
      - `pending_user` string, required
      - `pending_user_avatar` string, required
      - `site_key` string, required
      - `js_url` string, required
      - `interactive` boolean, required
    - `enroll_url` string
    - `recovery_url` string
    - `passwordless_url` string
    - `primary_action` string, required
    - `sources` LoginSource[]
      - `name` string, required
      - `icon_url` string, nullable
      - `promoted` boolean
      - `challenge` union, required
        - RedirectChallenge — Challenge type to redirect the client
          - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
            - `title` string
            - `background` string
            - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
              - …
            - `cancel_url` string, required
            - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
            - `messages` FlowMessage[]
              - …
          - `component` string
          - `response_errors` object
          - `to` string, required
          - `final_redirect` boolean
        - AppleLoginChallenge — Special challenge for apple-native authentication flow, which happens on the client.
          - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
            - `title` string
            - `background` string
            - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
              - …
            - `cancel_url` string, required
            - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
            - `messages` FlowMessage[]
              - …
          - `component` string
          - `response_errors` object
          - `client_id` string, required
          - `scope` string, required
          - `redirect_uri` string, required
          - `state` string, required
        - PlexAuthenticationChallenge — Challenge shown to the user in identification stage
          - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
            - `title` string
            - `background` string
            - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
              - …
            - `cancel_url` string, required
            - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
            - `messages` FlowMessage[]
              - …
          - `component` string
          - `response_errors` object
          - `client_id` string, required
          - `slug` string, required
        - TelegramLoginChallenge — Base login challenge for Identification stage
          - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
            - `title` string
            - `background` string
            - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
              - …
            - `cancel_url` string, required
            - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
            - `messages` FlowMessage[]
              - …
          - `component` string
          - `response_errors` object
          - `bot_username` string, required — Telegram bot username
          - `request_message_access` boolean, required
    - `show_source_labels` boolean, required
    - `enable_remember_me` boolean
    - `passkey_challenge` object, nullable
  - IframeLogoutChallenge — Challenge for iframe logout
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `logout_urls` LogoutURL[]
      - `url` string, required
      - `provider_name` string, nullable
      - `binding` string, nullable
      - `saml_request` string, nullable
      - `saml_response` string, nullable
      - `saml_relay_state` string, nullable
  - NativeLogoutChallenge — Challenge for native browser logout
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `provider_name` string
    - `is_complete` boolean
    - `post_url` string
    - `redirect_url` string
    - `saml_binding` 'redirect' | 'post'
    - `saml_request` string
    - `saml_response` string
    - `saml_relay_state` string
  - OAuthDeviceCodeChallenge — OAuth Device code challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
  - OAuthDeviceCodeFinishChallenge — Final challenge after user enters their code
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
  - PasswordChallenge — Password challenge UI fields
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `recovery_url` string
    - `allow_show_password` boolean
  - PlexAuthenticationChallenge — Challenge shown to the user in identification stage
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `client_id` string, required
    - `slug` string, required
  - PromptChallenge — Initial challenge being sent, define fields
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `fields` StagePrompt[], required
      - `field_key` string, required
      - `label` string, required
      - `type` 'text' | 'text_area' | 'text_read_only' | 'text_area_read_only' | 'username' | 'email' | 'password' | 'number' | 'checkbox' | 'radio-button-group' | 'dropdown' | 'date' | 'date-time' | 'file' | 'separator' | 'hidden' | 'static' | 'alert_info' | 'alert_warning' | 'alert_danger' | 'ak-locale', required
      - `required` boolean, required
      - `placeholder` string, required
      - `initial_value` string, required
      - `order` integer, required
      - `sub_text` string, required
      - `choices` PromptChoice[], nullable, required
        - `value` string, required
        - `label` string, required
  - RedirectChallenge — Challenge type to redirect the client
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `to` string, required
    - `final_redirect` boolean
  - SessionEndChallenge — Challenge for ending a session
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required
    - `application_name` string
    - `application_launch_url` string
    - `invalidation_flow_url` string
    - `overview_url` string
    - `brand_name` string, required
  - ShellChallenge — challenge type to render HTML as-is
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `body` string, required
  - TelegramLoginChallenge — Base login challenge for Identification stage
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `bot_username` string, required — Telegram bot username
    - `request_message_access` boolean, required
  - UserLoginChallenge — Empty challenge
    - `flow_info` ContextualFlowInfo — Contextual flow information for a challenge
      - `title` string
      - `background` string
      - `background_themed_urls` ThemedUrls — Themed URLs - maps theme names to URLs for light and dark themes
        - `light` string, nullable
        - `dark` string, nullable
      - `cancel_url` string, required
      - `layout` 'stacked' | 'content_left' | 'content_right' | 'sidebar_left' | 'sidebar_right' | 'sidebar_left_frame_background' | 'sidebar_right_frame_background', required
      - `messages` FlowMessage[]
        - `level` 'debug' | 'info' | 'success' | 'warning' | 'error', required
        - `message` string, required
    - `component` string
    - `response_errors` object
    - `pending_user` string, required
    - `pending_user_avatar` string, required

## Other responses

- `400`
- `403`

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
