Registrar evento de analítica del portal
POST
https://api.bydomu.com/v1/eventsThis reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.
Registra una vista, búsqueda o clic del portal para su analítica. Se procesa en segundo plano: la respuesta es inmediata y no confirma que el evento se haya guardado. Responde 200, no 201.
Permission required
events:write
Required header
X-API-Key · publishable or secret key
Access level
Level 1 · no request
Headers
1 · all optionalIdempotency-Keystring · optionalClave única de la operación (8-128 caracteres de
[a-zA-Z0-9._:-]). Un reintento con la misma clave y el mismo cuerpo devuelve la respuesta original sin repetir la operación. Vive 24 horas.8–128 charsBody (JSON)
5 · 1 requiredtypestring · requiredPAGE_VIEW · PROPERTY_VIEW · SEARCH · LEAD_FORM · WHATSAPP_CLICK · CALL_CLICK · SCHEDULE_CLICK · SHARE_CLICK · FINDER_SUBMIT
propertyIdstring · optionalsearchQuerystring · optional≤ 200 chars
referrerstring · optional≤ 500 chars
metadataobject · optionalResponse 200
SuccessFlag · 1 fieldsdataLa operación se aceptó.
successbooleantruePossible errors
shaped as{ "error": { "code", "message" } }- 400Datos inválidos: el cuerpo o la query no cumplen el esquema, o `Idempotency-Key` está mal formada.
- 401UNAUTHORIZED
- 402PAYMENT_REQUIRED
- 403FORBIDDEN
- 409DUPLICATE
- 429RATE_LIMITED
- 500INTERNAL_ERROR