curl -X POST "https://admin.devmain.flowxai.dev/rtm/api/runtime/app/{appId}/build/{buildId}/process-name/{processDefinitionName}/start" \
-H "Authorization: Bearer <token>" \ # Required
-H "Content-Type: application/json" \ # Required
-H "flowx-platform: web" \ # Required
-H "Accept: application/json, text/plain, */*" \ # Optional
-H "Accept-Encoding: gzip, deflate, br, zstd" \ # Optional
-H "Accept-Language: en-GB,en-US;q=0.9,en;q=0.8" \ # Optional
-d '{
"key": "value"
}'
{
"processDefinitionFlowxUuid": "<string>",
"buildId": "<string>",
"buildStatusAtStart": "<string>",
"applicationId": "<string>",
"parentApplicationId": {},
"rootApplicationId": {},
"processDefinitionName": "<string>",
"tokens": [
{}
],
"state": "<string>",
"uuid": "<string>",
"instanceMetadata": {},
"Access-Control-Allow-Credentials": true,
"Access-Control-Allow-Headers": "<string>",
"Access-Control-Allow-Methods": "<string>",
"Access-Control-Allow-Origin": "<string>",
"Content-Encoding": "<string>",
"Content-Type": "<string>",
"Strict-Transport-Security": "<string>",
"Vary": "<string>",
"X-Content-Type-Options": "<string>",
"X-XSS-Protection": "<string>"
}Start process by build id and process name
This endpoint initiates a process in the application runtime environment using the specified buildId and processDefinitionName.
POST
/
rtm
/
api
/
runtime
/
app
/
{appId}
/
build
/
{buildId}
/
process-name
/
{processDefinitionName}
/
start
curl -X POST "https://admin.devmain.flowxai.dev/rtm/api/runtime/app/{appId}/build/{buildId}/process-name/{processDefinitionName}/start" \
-H "Authorization: Bearer <token>" \ # Required
-H "Content-Type: application/json" \ # Required
-H "flowx-platform: web" \ # Required
-H "Accept: application/json, text/plain, */*" \ # Optional
-H "Accept-Encoding: gzip, deflate, br, zstd" \ # Optional
-H "Accept-Language: en-GB,en-US;q=0.9,en;q=0.8" \ # Optional
-d '{
"key": "value"
}'
{
"processDefinitionFlowxUuid": "<string>",
"buildId": "<string>",
"buildStatusAtStart": "<string>",
"applicationId": "<string>",
"parentApplicationId": {},
"rootApplicationId": {},
"processDefinitionName": "<string>",
"tokens": [
{}
],
"state": "<string>",
"uuid": "<string>",
"instanceMetadata": {},
"Access-Control-Allow-Credentials": true,
"Access-Control-Allow-Headers": "<string>",
"Access-Control-Allow-Methods": "<string>",
"Access-Control-Allow-Origin": "<string>",
"Content-Encoding": "<string>",
"Content-Type": "<string>",
"Strict-Transport-Security": "<string>",
"Vary": "<string>",
"X-Content-Type-Options": "<string>",
"X-XSS-Protection": "<string>"
}Base URL
- Always prepend the endpoint with the correct Base URL.
- For different environments (like staging or production), switch the base URL accordingly.
Path Parameters
Request headers
Specifies the media types that are acceptable for the response. Example:
application/json, text/plain, */*.Indicates supported content encoding algorithms for the response. Example:
gzip, deflate, br, zstd.Request Body
This endpoint requires a JSON request body. The exact payload structure should conform to the process definition schema associated with{processDefinitionName}.
Example Request Body
{
"key1": "value1",
"key2": "value2"
}
Response
Metadata related to the process instance, including:
processInstanceId: The numeric ID of the process instance.processInstanceUuid: The UUID of the process instance.
Response Headers
Lists the allowed headers in the actual request. Example:
DNT, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Range, Authorization, flowx-platform.Indicates the allowed origin for cross-origin requests. Example:
https://demo-angular.devmain.flowxai.dev.Enforces secure (HTTPS) connections to the server. Example:
max-age=31536000 ; includeSubDomains.Specifies that the response may vary based on the
Accept-Encoding request header. Example: Accept-Encoding.Prevents the browser from MIME-sniffing a response away from the declared
Content-Type. Example: nosniff.curl -X POST "https://admin.devmain.flowxai.dev/rtm/api/runtime/app/{appId}/build/{buildId}/process-name/{processDefinitionName}/start" \
-H "Authorization: Bearer <token>" \ # Required
-H "Content-Type: application/json" \ # Required
-H "flowx-platform: web" \ # Required
-H "Accept: application/json, text/plain, */*" \ # Optional
-H "Accept-Encoding: gzip, deflate, br, zstd" \ # Optional
-H "Accept-Language: en-GB,en-US;q=0.9,en;q=0.8" \ # Optional
-d '{
"key": "value"
}'
Last modified on May 20, 2025

