flows_executor_solve
POST/api/v3//flows/executor/:flow_slug/
Solve the previously retrieved challenge and advanced to the next stage.
Request
Path Parameters
Query Parameters
Querystring as received
- application/json
Body
- AppleChallengeResponseRequest
- AuthenticatorDuoChallengeResponseRequest
- AuthenticatorSMSChallengeResponseRequest
- AuthenticatorStaticChallengeResponseRequest
- AuthenticatorTOTPChallengeResponseRequest
- AuthenticatorValidationChallengeResponseRequest
- AuthenticatorWebAuthnChallengeResponseRequest
- AutoSubmitChallengeResponseRequest
- CaptchaChallengeResponseRequest
- ConsentChallengeResponseRequest
- DummyChallengeResponseRequest
- EmailChallengeResponseRequest
- IdentificationChallengeResponseRequest
- OAuthDeviceCodeChallengeResponseRequest
- OAuthDeviceCodeFinishChallengeResponseRequest
- PasswordChallengeResponseRequest
- PlexAuthenticationChallengeResponseRequest
- PromptChallengeResponseRequest
- UserLoginChallengeResponseRequest
oneOf
Possible values: non-empty
Default value: ak-source-oauth-apple
Possible values: non-empty
Default value: ak-stage-authenticator-duo
Possible values: non-empty
Default value: ak-stage-authenticator-sms
Possible values: non-empty
Possible values: non-empty
Default value: ak-stage-authenticator-static
Possible values: non-empty
Default value: ak-stage-authenticator-totp
Possible values: non-empty
Default value: ak-stage-authenticator-validate
selected_challenge
object
Possible values: non-empty
Possible values: non-empty
webauthn
object
Possible values: non-empty
Default value: ak-stage-authenticator-webauthn
response
object
required
Possible values: non-empty
Default value: ak-stage-autosubmit
Possible values: non-empty
Default value: ak-stage-captcha
Possible values: non-empty
Possible values: non-empty
Default value: ak-stage-consent
Possible values: non-empty
Possible values: non-empty
Default value: ak-stage-dummy
Possible values: non-empty
Default value: ak-stage-email
Possible values: non-empty
Default value: ak-stage-identification
Possible values: non-empty
Possible values: non-empty
Default value: ak-provider-oauth2-device-code
Possible values: non-empty
Default value: ak-provider-oauth2-device-code-finish
Possible values: non-empty
Default value: ak-stage-password
Possible values: non-empty
Possible values: non-empty
Default value: ak-source-plex
Possible values: non-empty
Default value: ak-stage-prompt
Possible values: non-empty
Default value: ak-stage-user-login
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
- AccessDeniedChallenge
- AppleLoginChallenge
- AuthenticatorDuoChallenge
- AuthenticatorSMSChallenge
- AuthenticatorStaticChallenge
- AuthenticatorTOTPChallenge
- AuthenticatorValidationChallenge
- AuthenticatorWebAuthnChallenge
- AutosubmitChallenge
- CaptchaChallenge
- ConsentChallenge
- DummyChallenge
- EmailChallenge
- FlowErrorChallenge
- IdentificationChallenge
- OAuthDeviceCodeChallenge
- OAuthDeviceCodeFinishChallenge
- PasswordChallenge
- PlexAuthenticationChallenge
- PromptChallenge
- RedirectChallenge
- ShellChallenge
- UserLoginChallenge
oneOf
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-access-denied
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-source-oauth-apple
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-authenticator-duo
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-authenticator-sms
response_errors
object
Default value: true
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-authenticator-static
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-authenticator-totp
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-authenticator-validate
response_errors
object
device_challenges
object[]
required
configuration_stages
object[]
required
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-authenticator-webauthn
response_errors
object
registration
object
required
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-autosubmit
response_errors
object
attrs
object
required
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-captcha
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-consent
response_errors
object
permissions
object[]
required
additional_permissions
object[]
required
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-dummy
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-email
response_errors
object
Default value: native
flow_info
object
Default value: ak-stage-flow-error
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-identification
response_errors
object
Possible values: [authentication
, authorization
, invalidation
, enrollment
, unenrollment
, recovery
, stage_configuration
]
sources
object[]
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-provider-oauth2-device-code
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-provider-oauth2-device-code-finish
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-password
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-source-plex
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-prompt
response_errors
object
fields
object[]
required
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: xak-flow-redirect
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: xak-flow-shell
response_errors
object
Possible values: [native
, shell
, redirect
]
flow_info
object
Default value: ak-stage-user-login
response_errors
object
{}
- application/json
- Schema
- Example (from schema)
Schema
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST '/api/v3/flows/executor/:flow_slug/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"component": "ak-source-oauth-apple"
}'