Skip to main content
GET
/
flow
/
definition
/
{id}
Retrieve the flow definition detail
curl --request GET \
  --url https://api.indieflow.app/v1/flow/definition/{id} \
  --header 'X-Api-Key: <api-key>'
{
  "status": "success",
  "exit_code": "success",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "webhook": {
      "url": "<string>",
      "signature_key": "<string>"
    },
    "steps": {},
    "created_at": 123,
    "updated_at": 123,
    "status": "active",
    "current_version": "<string>"
  }
}

Authorizations

X-Api-Key
string
header
required

The api key given to you when you register, no needed when using through RapidAPI

Path Parameters

id
string
required

The flow definition id or name

Response

The flow detail

A simple response representation Successful response after creating or retrieving a flow definition

status
enum<string>

The response status returned from the server, it can be:

  • success: The request worked as expected
  • error: The request returned an error
Available options:
success,
error
exit_code
enum<string>

The response exit code returned from the server, it can be:

  • success: The request worked as expected
  • validation_error: The request contains an user input related error
  • unauthorized: Invalid credentials
  • generic_error: The request contains a generic error
  • service_down: The backend server is down
  • flow_disabled: The requested flow is currently marked as disabled
  • service_plan_max_registered_flows_reached: The maximum number of registered flows has been reached, this error also applies when trying to submit a flow after downgrading a plan
  • service_plan_max_steps_per_flow_reached: The maximum number of steps per flow has been exceeded, this error also applies when trying to submit a flow after downgrading a plan
Available options:
success,
validation_error,
unauthorized,
generic_error,
service_unavailable,
resource_not_found,
step_already_executed,
flow_disabled,
service_plan_max_registered_flows_reached,
service_plan_max_steps_per_flow_reached
data
object

Schema that represents any serializable data Contains the flow definition