Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Flow Extension Management API

Download OpenAPI (YAML)Version 1.0

Base URL: https://api.asgardeo.io/t/<ORGANIZATION_NAME>/api/server/v1

The WSO2 Identity Platform - Flow Extension Rest API (version 1.0).

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

authorizationCode flow, token URL https://api.asgardeo.io/t/{organization-name}/oauth2/token, authorization URL https://api.asgardeo.io/t/{organization-name}/oauth2/authorize

4 scopes
ScopeDescription
flow_extension_createinternal_flow_extension_create
flow_extension_viewinternal_flow_extension_view
flow_extension_updateinternal_flow_extension_update
flow_extension_deleteinternal_flow_extension_delete

Flow Extensions​

List Flow Extensions​

GET /flow/extension

Returns a list of all configured flow extensions.

Scope (Permission) required: internal_flow_extension_view

Responses

CodeDescriptionSchema
200

OK

FlowExtensionResponseList
401

Unauthorized

Error
403

Forbidden

Error
500

Server Error

Error

Create Flow Extension​

POST /flow/extension

Creates an flow extension and returns the details along with the unique ID.

Scope (Permission) required: internal_flow_extension_create

Request body (required): application/json

Schema: FlowExtensionModel

5 properties
NameTypeRequiredDescription
namestringYes

Name of the extension.

descriptionstring

Description of the extension.

endpointEndpointYes
accessConfigAccessConfig
encryptionEncryption

Responses

CodeDescriptionSchema
201

Flow Extension Created

FlowExtensionResponse
400

Bad Request

Error
401

Unauthorized

Error
403

Forbidden

Error
500

Server Error

Error

Retrieve Flow Extension by ID​

GET /flow/extension/{extensionId}

Retrieves the flow extension by its ID.

Scope (Permission) required: internal_flow_extension_view

Parameters

NameInTypeRequiredDescription
extensionIdpathstringYes

Unique identifier of the extension.

Responses

CodeDescriptionSchema
200

OK

FlowExtensionResponse
401

Unauthorized

Error
403

Forbidden

Error
404

Not Found

Error
500

Server Error

Error

Delete Flow Extension​

DEL /flow/extension/{extensionId}

Deletes an flow extension by its ID.

Scope (Permission) required: internal_flow_extension_delete

Parameters

NameInTypeRequiredDescription
extensionIdpathstringYes

Unique identifier of the extension.

Responses

CodeDescriptionSchema
204

Extension Deleted

400

Bad Request

Error
401

Unauthorized

Error
403

Forbidden

Error
500

Server Error

Error

Update Flow Extension​

PATCH /flow/extension/{extensionId}

Updates an existing flow extension.

Scope (Permission) required: internal_flow_extension_update

Parameters

NameInTypeRequiredDescription
extensionIdpathstringYes

Unique identifier of the extension.

Request body (required): application/json

Schema: FlowExtensionUpdateModel

6 properties
NameTypeRequiredDescription
namestring
descriptionstring
versionstring
endpointEndpointUpdateModel
accessConfigAccessConfig
encryptionEncryption

Responses

CodeDescriptionSchema
200

Extension Updated

FlowExtensionResponse
400

Bad Request

Error
401

Unauthorized

Error
403

Forbidden

Error
404

Not Found

Error
500

Server Error

Error

Schemas​

FlowExtensionModel​

Type: object

5 properties
NameTypeRequiredDescription
namestringYes

Name of the extension.

descriptionstring

Description of the extension.

endpointEndpointYes
accessConfigAccessConfig
encryptionEncryption

FlowExtensionUpdateModel​

Type: object

6 properties
NameTypeRequiredDescription
namestring
descriptionstring
versionstring
endpointEndpointUpdateModel
accessConfigAccessConfig
encryptionEncryption

FlowExtensionResponse​

Type: object

9 properties
NameTypeRequiredDescription
idstring
namestring
descriptionstring
versionstring
createdAtstring
updatedAtstring
endpointEndpointResponse
accessConfigAccessConfig
encryptionEncryptionResponse

Present when an encryption certificate is configured for the extension. The certificate value is never returned.

FlowExtensionBasicResponse​

Type: object

7 properties
NameTypeRequiredDescription
idstring
namestring
descriptionstring
versionstring
createdAtstring
updatedAtstring
linksarray of Link

FlowExtensionResponseList​

Type: array of FlowExtensionBasicResponse

Endpoint​

Type: object

3 properties
NameTypeRequiredDescription
uristringYes
authenticationAuthenticationTypeYes
allowedHeadersarray of string

EndpointUpdateModel​

Type: object

3 properties
NameTypeRequiredDescription
uristring
authenticationAuthenticationType
allowedHeadersarray of string

EndpointResponse​

Type: object

3 properties
NameTypeRequiredDescription
uristring
authenticationAuthenticationTypeResponse
allowedHeadersarray of string

AuthenticationType​

Type: object

2 properties
NameTypeRequiredDescription
typestringYes

Allowed values: NONE, BEARER, API_KEY, BASIC, CLIENT_CREDENTIAL, PASSWORD_CREDENTIAL

propertiesobject

AuthenticationTypeResponse​

Type: object

1 property
NameTypeRequiredDescription
typestring

Allowed values: NONE, BEARER, API_KEY, BASIC, CLIENT_CREDENTIAL, PASSWORD_CREDENTIAL

Type: object

3 properties
NameTypeRequiredDescription
hrefstring
methodstring

Allowed values: GET

relstring

AccessConfig​

Type: object

2 properties
NameTypeRequiredDescription
exposearray of ContextPath
modifyarray of ContextPath

The paths the extension may write. Paths configured as non-modifiable are rejected with a 400 response.

ContextPath​

Type: object

2 properties
NameTypeRequiredDescription
pathstringYes
encryptedboolean

Whether the value at this path is exchanged encrypted. Marking an exposed path as encrypted requires an encryption certificate to be configured for the extension.

Default: false

Encryption​

Type: object

1 property
NameTypeRequiredDescription
certificatestringYes

Base64-encoded PEM certificate used to encrypt field values sent to the extension endpoint. Send an empty string to remove the configured certificate.

EncryptionResponse​

Type: object

Present when an encryption certificate is configured for the extension. The certificate value is never returned.

FlowExtensionContextNode​

Type: object

One node in the controlled Flow Extension context tree.

11 properties
NameTypeRequiredDescription
keystring
titlestring
pathstring
dataTypestring
nodeTypestring

Tree node type.

Allowed values: OBJECT, LEAF, MAP, COMPLEX_MAP

allowedOperationsarray of string

Operations the admin may configure on this node.

Allowed values: EXPOSE, MODIFY

readOnlyboolean
replaceableboolean
dynamicEntryAllowedboolean
dynamicEntryTypestring
childrenarray of FlowExtensionContextNode

Error​

Type: object

3 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring

Was this page helpful?