Overview
This endpoint retrieves all pipelines associated with your account. Pipelines are workflow structures that help organize and track contacts through different stages of your business process (e.g., sales funnel, customer support, onboarding).Use Cases
- Display available pipelines: Show all pipelines in your application’s UI
- Pipeline selection: Allow users to select which pipeline to work with
- Analytics setup: Get pipeline data for reporting and analytics
- Integration workflows: Sync pipeline structures with external CRM or automation tools
Authentication
This endpoint requires authentication using an API key. Include your API key in the request header:Response Structure
The endpoint returns an array of pipeline objects. Each pipeline contains:Field | Type | Description |
---|---|---|
id | string (UUID) | Unique identifier for the pipeline |
name | string | Name of the pipeline |
description | string | Detailed description of the pipeline’s purpose |
stages | array | List of stages within the pipeline |
Stage Object
Each stage in thestages
array contains:
Field | Type | Description |
---|---|---|
id | string (UUID) | Unique identifier for the stage |
name | string | Name of the stage |
description | string | Description of what this stage represents |
Example Response
Common Use Cases
1. Display Pipelines in a Dropdown
2. Get All Stages from All Pipelines
3. Find a Specific Pipeline
Error Responses
Status Code | Description |
---|---|
400 | Bad Request - Invalid request format |
401 | Unauthorized - Invalid or missing API key |
500 | Internal Server Error - Something went wrong on our end |
Tips
- Cache the response: Pipeline structures typically don’t change frequently, so consider caching this data
- Use IDs, not names: Always use pipeline and stage IDs for API calls, as names can be changed by users
- Empty pipelines: A new account might have default pipelines or no pipelines at all
- Stage order: Stages are returned in the order they appear in the pipeline workflow
Headers
API key needed to authorize the request
Response
Successful retrieval of WhatsApp templates.