Input parameters

To initialize the SDK, you must fill in the input parameters. This action must be performed on the server side. Use the following POST method of our API:

curl --location 'https://sandbox-oop-api.advai.net/intl/openapi/sdk/v2/inputParams' \
--header 'journeyId: 631' \
--header 'X-ADVAI-KEY: XXXXX'
NameDescription
journeyIdThe Workflow unqiue ID Response
X-ADVAI-KEYAPI Key

📘

Where to find the journeyId

You can find the workflow ID (journey ID ) on the workflow canvas website URL

Response

{
    "code": "SUCCESS",
    "message": "SUCCESS",
    "data": {
        "isNeed": true,
        "inputVariables": [
            {
                "variableName": "name",
                "displayName": "name",
                "aliasName": null,
                "dataType": "STRING",
                "required": true,
                "description": "For more details needed, please refer to the API doc in Dev-hub API Documentation Segment",
                "options": [],
                "regex": null,
                "regexErrorMessage": null,
                "placeholder": null,
                "defaultValues": [],
                "defaultValue": null
            }.....
       ]
     }
}