GET
Abrir o ver un evento
Scope:
crm:events.readhttps://api.holded.com/api/v2/events/{eventId}Recupera todos los detalles de un evento específico por su identificador único.
Parámetros
Parámetros de ruta
eventId
stringobligatorioID del evento (ObjectId hexadecimal de 24 caracteres)
Petición
python
import requests
url = "https://api.holded.com/api/v2/events/{eventId}"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())Respuestas
Respuesta
json
{
"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"
}Respuestas exitosas
200Evento encontradoapplication/jsonobject
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
Respuestas de error
401API key inválida o no proporcionadaapplication/json403Permisos insuficientesapplication/json404Evento no encontradoapplication/json429Límite de solicitudes excedidoapplication/json