Flow Extension Management API
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
| Scope | Description |
|---|---|
flow_extension_create | internal_flow_extension_create |
flow_extension_view | internal_flow_extension_view |
flow_extension_update | internal_flow_extension_update |
flow_extension_delete | internal_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
| Code | Description | Schema |
|---|---|---|
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
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the extension. |
description | string | Description of the extension. | |
endpoint | Endpoint | Yes | |
accessConfig | AccessConfig | ||
encryption | Encryption |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
extensionId | path | string | Yes | Unique identifier of the extension. |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
extensionId | path | string | Yes | Unique identifier of the extension. |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
extensionId | path | string | Yes | Unique identifier of the extension. |
Request body (required): application/json
Schema: FlowExtensionUpdateModel
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
description | string | ||
version | string | ||
endpoint | EndpointUpdateModel | ||
accessConfig | AccessConfig | ||
encryption | Encryption |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the extension. |
description | string | Description of the extension. | |
endpoint | Endpoint | Yes | |
accessConfig | AccessConfig | ||
encryption | Encryption |
FlowExtensionUpdateModel
Type: object
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
description | string | ||
version | string | ||
endpoint | EndpointUpdateModel | ||
accessConfig | AccessConfig | ||
encryption | Encryption |
FlowExtensionResponse
Type: object
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | ||
name | string | ||
description | string | ||
version | string | ||
createdAt | string | ||
updatedAt | string | ||
endpoint | EndpointResponse | ||
accessConfig | AccessConfig | ||
encryption | EncryptionResponse | Present when an encryption certificate is configured for the extension. The certificate value is never returned. |
FlowExtensionBasicResponse
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | ||
name | string | ||
description | string | ||
version | string | ||
createdAt | string | ||
updatedAt | string | ||
links | array of Link |
FlowExtensionResponseList
Type: array of FlowExtensionBasicResponse
Endpoint
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
uri | string | Yes | |
authentication | AuthenticationType | Yes | |
allowedHeaders | array of string |
EndpointUpdateModel
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
uri | string | ||
authentication | AuthenticationType | ||
allowedHeaders | array of string |
EndpointResponse
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
uri | string | ||
authentication | AuthenticationTypeResponse | ||
allowedHeaders | array of string |
AuthenticationType
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Allowed values: |
properties | object |
AuthenticationTypeResponse
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Allowed values: |
Link
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
href | string | ||
method | string | Allowed values: | |
rel | string |
AccessConfig
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
expose | array of ContextPath | ||
modify | array of ContextPath | The paths the extension may write. Paths configured as non-modifiable are rejected with a 400 response. |
ContextPath
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
path | string | Yes | |
encrypted | boolean | 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: |
Encryption
Type: object
1 property
| Name | Type | Required | Description |
|---|---|---|---|
certificate | string | Yes | 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
| Name | Type | Required | Description |
|---|---|---|---|
key | string | ||
title | string | ||
path | string | ||
dataType | string | ||
nodeType | string | Tree node type. Allowed values: | |
allowedOperations | array of string | Operations the admin may configure on this node. Allowed values: | |
readOnly | boolean | ||
replaceable | boolean | ||
dynamicEntryAllowed | boolean | ||
dynamicEntryType | string | ||
children | array of FlowExtensionContextNode |
Was this page helpful?