When a customer who doesn't exist in your CRM writes a message, a new deal is created. In the Wazzup interface, you need to configure which funnel this deal should be created in.
When using the methods listed below, include the end‑customer's client_access_token (obtained via simplified authorization or OAuth) in the request header: Authorization: Bearer client_access_token
GET /v2/pipelines — retrieve a list of funnels.POST /v2/pipelines — add funnels with stages.To upload or update sales funnels with stages in Wazzup, call:
POST /v2/pipelinesRequest parameters
| Parameter | Type | Description |
pipelines |
object |
Contains funnel information |
pipelines.id |
string |
Funnel ID (max 100 characters) |
pipelines.name |
string |
Funnel name displayed in the integration settings (max 100 characters) |
pipelines.stages |
object |
Array of funnel stages. If your CRM has multiple funnels but no stages, this parameter can be omitted. If provided but empty, an error will occur |
pipelines.stages.id |
string |
Funnel stage ID (max 100 characters) |
pipelines.stages.name |
string |
Funnel stage name (max 100 characters) |
Request Example:
curl -L 'https://tech.wazzup24.com/v2/pipelines' -H 'Authorization: Bearer <client_access_token>' -H 'Content-Type: application/json' -d '{
"pipelines": [
{
"id": "pipeline-1",
"name": "incoming",
"stages": [
{
"id": "stage-1",
"name": "new inquiry"
},
{
"id": "stage-2",
"name": "in progress"
}
]
}
]
}'
Response example:
{
"data": {
"pipelines_created": 1,
"stages_created": 2
},
"meta": {
"timestamp": 1759497960
}
}
Result: The funnel and its stages have been created.
GET /v2/pipelinesRequest Example:
curl -L 'https://tech.wazzup24.com/v2/pipelines' \ -H 'Authorization: Bearer <client_access_token>'
Response example:
{
"data": [
{
"stages": [
{
"id": "stage-1",
"name": "new inquiry"
},
{
"id": "stage-2",
"name": "in progress"
}
],
"id": "pipeline-1",
"name": "incoming"
}
],
"meta": {
"timestamp": 1759498023
}
}
| Response parameter | Type | Description |
data |
object |
Contains funnel information |
data.stages |
object |
Array of funnel stages. If your CRM has multiple funnels but no stages, this parameter can be omitted. If provided but empty, an error will occur |
data.stages.id |
string |
Funnel stage ID |
data.stages.name |
string |
Funnel stage name |
Result: Returns a list of all previously created funnels along with their stages.