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

    oneOf

    Pseudo class for apple response

    component string

    Possible values: non-empty

    Default value: ak-source-oauth-apple

Responses

Schema

    oneOf

    Challenge when a flow's active stage calls stage_invalid().

    flow_info

    object

    Contextual flow information for a challenge

    title string
    background string
    cancel_url stringrequired
    layout ContextualFlowInfoLayoutEnum (string)required

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

    component string
    Default value: ak-stage-access-denied

    response_errors

    object

    property name*

    object[]

  • Array [

  • string stringrequired
    code stringrequired
  • ]

  • pending_user stringrequired
    pending_user_avatar stringrequired
    error_message string

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"
}