Skip to content

List pipelines ​

Returns every pipeline in your workspace with the channels connected to it. Use it to find the channels[].id the WhatsApp QR Code endpoints need.

GET/api/user/pipelines
Required scope: pipelines:read
curl -X GET "https://loopx-console.test/api/user/pipelines" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/json"
<?php

use GuzzleHttp\Client;

$client = new Client();
$response = $client->request('GET', 'https://loopx-console.test/api/user/pipelines', [
    'headers' => [
        'Authorization' => 'Bearer $TOKEN',
        'Accept'        => 'application/json',
    ]
]);

$data = json_decode($response->getBody(), true);
const res = await fetch('https://loopx-console.test/api/user/pipelines', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer $TOKEN',
    Accept: 'application/json'
  }
});

const data = await res.json();

Example response

{
  "status": true,
  "code": 200,
  "validation": [],
  "message": "Pipeline List",
  "data": [
    {
      "id": 128,
      "name": "Sales — Egypt",
      "description": null,
      "status": "active",
      "is_archived": false,
      "channels": [
        {
          "id": 105,
          "name": "Sales WhatsApp",
          "identifier": "201142407509@c.us",
          "status": "active",
          "provider": "whatsapp",
          "connector": "whatsapp-qr"
        }
      ],
      "created_at": "2026-10-01T11:26:33.000000Z",
      "updated_at": "2026-10-01T11:26:33.000000Z"
    }
  ]
}

Response fields ​

FieldTypeDescription
idintegerPipeline id
name, descriptionstringPipeline name and description
statusstringactive or inactive
is_archivedbooleanArchived pipelines stay listed
channels[].idintegerChannel id — pass it to List WhatsApp templates (connector = "meta") or the WhatsApp QR Code endpoints (connector = "whatsapp-qr")
channels[].identifierstringThe connected account, e.g. the WhatsApp number
channels[].providerstringwhatsapp, instagram, messenger, …
channels[].connectorstringHow the channel is connected. Only whatsapp-qr channels work with the WhatsApp QR Code endpoints.

Developer tokens get this trimmed shape. Agent instructions, costs and channel credentials are never returned.