Skip to main content

flows_executor_solve

POST 

/api/v3//flows/executor/:flow_slug/

Solve the previously retrieved challenge and advanced to the next stage.

Request

Path Parameters

    flow_slug stringrequired

Query Parameters

    query stringrequired

    Querystring as received

Body

    component

    Possible values: [ak-source-oauth-apple, ak-stage-authenticator-duo, ak-stage-authenticator-email, ak-stage-authenticator-sms, ak-stage-authenticator-static, ak-stage-authenticator-totp, ak-stage-authenticator-validate, ak-stage-authenticator-webauthn, ak-stage-autosubmit, ak-stage-captcha, ak-stage-consent, ak-stage-dummy, ak-stage-email, xak-flow-frame, ak-stage-identification, ak-provider-oauth2-device-code, ak-provider-oauth2-device-code-finish, ak-stage-password, ak-source-plex, ak-stage-prompt, xak-flow-redirect, ak-stage-user-login]

    object

Responses

Schema
    component

    Possible values: [ak-stage-access-denied, ak-source-oauth-apple, ak-stage-authenticator-duo, ak-stage-authenticator-email, ak-stage-authenticator-sms, ak-stage-authenticator-static, ak-stage-authenticator-totp, ak-stage-authenticator-validate, ak-stage-authenticator-webauthn, ak-stage-autosubmit, ak-stage-captcha, ak-stage-consent, ak-stage-dummy, ak-stage-email, ak-stage-flow-error, xak-flow-frame, ak-stage-identification, ak-provider-oauth2-device-code, ak-provider-oauth2-device-code-finish, ak-stage-password, ak-source-plex, ak-stage-prompt, xak-flow-redirect, ak-stage-session-end, xak-flow-shell, ak-stage-user-login]

    flow_info object

    Contextual flow information for a challenge

    titlestring
    backgroundstring
    cancel_urlstringrequired
    layoutContextualFlowInfoLayoutEnum (string)required

    Possible values: [stacked, content_left, content_right, sidebar_left, sidebar_right]

    response_errors object
    property name* object[]
  • Array [
  • stringstringrequired
    codestringrequired
  • ]
  • pending_userstringrequired
    pending_user_avatarstringrequired
    error_messagestring

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "/api/v3/flows/executor/:flow_slug/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"component\": \"ak-source-oauth-apple\"\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
/api/v3
Auth
Parameters
— pathrequired
— queryrequired
Body
{
  "component": "ak-source-oauth-apple"
}