Saltar al contingut principal
GET

Llistat d'embuts

Scope:crm:funnels.read
https://api.holded.com/api/v2/funnels

Retorna una llista paginada d'embuts CRM del teu compte.

Paràmetres

Paràmetres de consulta

cursorstringopcional

Cursor opac per a la paginació. Utilitza el valor retornat a la resposta anterior

limitintegeropcional= 50

Nombre màxim d'embuts a retornar per pàgina

Petició

python
import requests

url = "https://api.holded.com/api/v2/funnels?cursor=value&limit=50"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())

Respostes

Resposta

json
{
  "items": [
    {
      "id": "507f1f77bcf86cd799439011",
      "name": "string",
      "stages": [
        {
          "id": "...",
          "name": "...",
          "key": "...",
          "description": "...",
          "deal_probability": "...",
          "rotting_days": "..."
        }
      ],
      "labels": [
        {}
      ],
      "created_at": "string",
      "updated_at": "string"
    }
  ],
  "has_more": false,
  "cursor": "string"
}

Respostes exitoses

200Llistat d'embutsapplication/json
object
items[]object[]required
idstringrequired

Unique identifier

namestringrequired

Funnel name

stages[]object[]required

Funnel stages

labels[]object[]required

Funnel labels

created_atstring | nullrequired

Creation date in ISO 8601 format

updated_atstring | nullrequired

Last update date in ISO 8601 format

has_morebooleanrequired

Whether there are more items on the next page

cursorstring | nulloptional

Opaque cursor to pass as ?cursor= to fetch the next page. Null on the last page.

Respostes d'error

401API key no vàlida o no proporcionadaapplication/json
403Permisos insuficientsapplication/json
429Límit de sol·licituds exceditapplication/json