Platform

Casafari to platforma analityczna danych nieruchomości zorientowana na agentów AI. Najpełniejszy indeks nieruchomości w Europie: zdeduplikowany i wyczyszczony graf nieruchomości mieszkalnych i komercyjnych na sprzedaż oraz na wynajem w 16 krajach.Najpełniejszy indeks nieruchomości w Europie: zdeduplikowany i wyczyszczony graf nieruchomości.

Jak budowany jest graf

Alerts · REST API

Set the webhook

PUThttps://platform.casafari.com/v1/alerts/webhooks
Klucz APIdarmowe (0 tokenów)1 parametr

Prześlij Authorization: Bearer $CASAFARI_API_KEY: klucz API platformy (cf_sk_...) z konsoli lub token dostępu OAuth; X-API-Key również przenosi klucz. Zobacz klucze API platformy. Darmowe: 0 tokenów.

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.

Przez MCP: brak; ten produkt jest dostępny wyłącznie przez 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.

Treść żądania

Typ zawartości application/json. Opcjonalny. Typ: object.

urlstring (uri)wymagany
1–2083 characters

Przykładowe żądanie

Tylko symbole zastępcze: zastąp token i wartości własnymi danymi.

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"
}'

Odpowiedzi

200 Success.

Typ: object.

Pokaż strukturę odpowiedzi (2 pola)
urlstringwymagany
The webhook URL, https.
secretstringwymagany
The signing secret, whsec_ followed by base64. Shown when a webhook is first set; store it, it is not shown again.
Przykład z przykładowymi wartościami (identyfikatory i liczby mają charakter poglądowy)
JSON
{
  "url": "https://example.com/casafari/alerts",
  "secret": "whsec_MfKQ9r1bU8nLx2YvW7sT3pZc4aHd5eJk"
}

Błędy

Każdy błąd to ciało typu application/problem+json (RFC 9457) zawierające type (strona z wyjaśnieniem), title, status, detail (co zrobić), instance, code oraz request_id (do podania przy zgłoszeniu wsparcia). Błąd 402 zawiera upgrade_url, a 429 nagłówek Retry-After. Kody, które może zwrócić każdy status:

Wskazówka: dodaj .md do dowolnego URL, aby wyświetlić go jako Markdown.