Skip to content

Retrieve a pipeline ​

Returns one pipeline with its connected channels.

GET/api/user/pipelines/{pipeline}
Required scope: pipelines:read
Path parameters
integer
curl -X GET "https://loopx-console.test/api/user/pipelines/128" \
  -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/128', [
    'headers' => [
        'Authorization' => 'Bearer $TOKEN',
        'Accept'        => 'application/json',
    ]
]);

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

const data = await res.json();

Example response

{
  "status": true,
  "code": 200,
  "validation": [],
  "message": "Pipeline Details",
  "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"
  }
}

Path parameters ​

NameTypeRequiredDescription
pipelineintegeryesPipeline id — must belong to your workspace

The fields are the same as in List pipelines. A pipeline that doesn't exist or isn't yours returns 404.