Platform

Casafari è la piattaforma di intelligence dei dati immobiliari nativa per agenti AI. L'indice immobiliare più completo d'Europa: un grafo immobiliare deduplicato e ripulito di immobili residenziali e commerciali, in vendita e in affitto, in 16 paesi.L'indice immobiliare più completo d'Europa: un grafo immobiliare deduplicato e ripulito.

Come viene costruito il grafo

Alerts · REST API

Set the webhook

PUThttps://platform.casafari.com/v1/alerts/webhooks
Chiave APIgratuito (0 token)1 parametro

Inviare Authorization: Bearer $CASAFARI_API_KEY: una chiave API della piattaforma (cf_sk_...) dalla console, oppure un token di accesso OAuth; anche X-API-Key può contenere la chiave. Consultare le chiavi API della piattaforma. Gratuito: 0 token.

The platform's OpenAPI file leaves the shape open; what is shown comes from the same definitions the platform publishes elsewhere: request: the description of the same backend; response 200: the hub's fragment from the platform's contract.

Tramite MCP: nessuno; questo prodotto è solo REST.

Description

Free (uses no tokens). Each alert delivered to this webhook costs 1 token; when the account has no tokens left, deliveries pause until it has tokens again.

Corpo della richiesta

Content type application/json. Opzionale. Tipo: object.

urlstring (uri)obbligatorio
1–2083 characters

Esempio di richiesta

Solo segnaposti: sostituisca il token e i valori con i propri.

curl
curl -X PUT "https://platform.casafari.com/v1/alerts/webhooks" \
  -H "Authorization: Bearer $CASAFARI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com/casafari/alerts"
}'

Risposte

200 Success.

Tipo: object.

Mostra la struttura della risposta (2 campi)
urlstringaobbligatorio
The webhook URL, https.
secretstringaobbligatorio
The signing secret, whsec_ followed by base64. Shown when a webhook is first set; store it, it is not shown again.
Esempio con valori di esempio (id e cifre sono puramente illustrativi)
JSON
{
  "url": "https://example.com/casafari/alerts",
  "secret": "whsec_MfKQ9r1bU8nLx2YvW7sT3pZc4aHd5eJk"
}

Errori

Ogni errore è un corpo application/problem+json (RFC 9457) con type (una pagina che fornisce una spiegazione), title, status, detail (cosa fare), instance, code e request_id (da citare per ricevere assistenza). Un errore 402 contiene un upgrade_url, un 429 un header Retry-After. I codici previsti per ogni stato:

Suggerimento: aggiungi .md a qualsiasi URL per leggerlo in formato Markdown.