GET
Listado de eventos
Scope:
crm:events.readhttps://api.holded.com/api/v2/eventsDevuelve una lista paginada de eventos de calendario de tu cuenta.
Parámetros
Parámetros de consulta
cursor
stringopcionalCursor opaco para paginación. Usa el valor devuelto en la respuesta anterior
limit
integeropcional= 50Número máximo de eventos a devolver por página
Petición
python
import requests
url = "https://api.holded.com/api/v2/events?cursor=value&limit=50"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Respuestas
Respuesta
json
{
"items": [
{
"id": "507f1f77bcf86cd799439011",
"name": "string",
"contact_id": "string",
"contact_name": "string",
"kind": "string",
"description": "string",
"start_date": "2024-01-15T10:30:00Z",
"end_date": "2024-01-15T10:30:00Z",
"status": 0,
"tags": [
"string"
],
"location": "string",
"lead_id": "string",
"funnel_id": "string",
"user_id": "string",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
],
"cursor": "string",
"has_more": false
}Respuestas exitosas
200Listado de eventosapplication/jsonobject
items[]object[]required
idstringrequired
Unique identifier of the event
namestringrequired
Event name
contact_idstring | nullrequired
Associated contact ID
contact_namestring | nullrequired
Contact display name
kindstring | nullrequired
Activity type key (e.g. call, meeting, task)
descriptionstring | nullrequired
Event description
start_datestring<date-time> | nullrequired
Start date in ISO 8601 format
end_datestring<date-time> | nullrequired
End date in ISO 8601 format
statusintegerrequired
Event status (0 = pending, 1 = completed)
tags[]string[]required
List of tag names
locationstring | nullrequired
Event location
lead_idstring | nullrequired
Associated deal/lead ID
funnel_idstring | nullrequired
Associated funnel ID
user_idstring | nullrequired
ID of the user assigned to the event
created_atstring<date-time> | nullrequired
Creation date in ISO 8601 format
updated_atstring<date-time> | nullrequired
Last update date in ISO 8601 format
cursorstring | nulloptional
has_morebooleanrequired
Respuestas de error
401API key inválida o no proporcionadaapplication/json403Permisos insuficientesapplication/json429Límite de solicitudes excedidoapplication/json