GET
Llistat d'embuts
Scope:
crm:funnels.readhttps://api.holded.com/api/v2/funnelsRetorna una llista paginada d'embuts CRM del teu compte.
Paràmetres
Paràmetres de consulta
cursor
stringopcionalCursor opac per a la paginació. Utilitza el valor retornat a la resposta anterior
limit
integeropcional= 50Nombre 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/jsonobject
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/json403Permisos insuficientsapplication/json429Límit de sol·licituds exceditapplication/json