πŸ” Pipelines

Retrieve and interact with message processing pipelines.

πŸ”½ GET /api/public/pipeline – Get Pipelines

Use this endpoint to retrieve the list of available pipelines linked to your account. Pipelines define the flows or automations used in conversations, onboarding, campaigns, and more.

Click to expand full details

πŸ”Ή URL

GET /api/public/pipeline

πŸ”Ή Headers

NameTypeRequiredDescription
x-api-keystringβœ…Your API key to authorize the request

πŸ”Ή Example Request (cURL)

curl --request GET \
  'https://iris-backend-production.up.railway.app/api/public/pipeline' \
  --header 'x-api-key: YOUR_API_KEY'

Replace YOUR_API_KEY with your actual API key.


πŸ”Ή Response Example

[
  {
    "id": "pipeline_welcome",
    "name": "Welcome Flow",
    "description": "Pipeline triggered after first QR scan",
    "status": "active"
  },
  {
    "id": "pipeline_survey",
    "name": "Survey Campaign",
    "description": "Post-purchase customer survey",
    "status": "active"
  }
]

πŸ”Ή Possible Responses

CodeMeaningDescription
200OKSuccessfully retrieved pipeline list
400Bad RequestRequest was malformed or incomplete
401UnauthorizedAPI key was missing or incorrect