Read your account's alert webhook (without its secret)
https://platform.casafari.com/v1/claro/alerts/webhookSend Authorization: Bearer $CASAFARI_API_KEY: a platform API key or OAuth access token, metered in platform tokens; see platform sign-in and Claro AI. On the platform this is GET https://platform.casafari.com/v1/claro/alerts/webhook; GET /v1/alerts/webhook is Claro's own path, which the platform adds /claro to. The platform forwards the call to Claro unchanged: Claro's Claro-Version header and its error bodies ({"error":{"code","message"}}, with rate_limited and quota_reached on a 429) pass through.
Over MCP: no tool does this. MCP and REST compared.
Przykładowe żądanie
Tylko symbole zastępcze: zastąp token i wartości własnymi danymi.
curl "https://platform.casafari.com/v1/claro/alerts/webhook" \
-H "Authorization: Bearer $CASAFARI_API_KEY"Odpowiedzi
200 {webhook: {url, created_at} | null}
Brak body.
400 Nieprawidłowe żądanie
Typ: object.
Pokaż strukturę odpowiedzi (3 pola)
errorobject2 właściwości
codestringwymaganymessagestringwymagany401 Brakujący lub nieprawidłowy klucz
Typ: object.
Pokaż strukturę odpowiedzi (3 pola)
errorobject2 właściwości
codestringwymaganymessagestringwymagany403 Brak dostępu
Typ: object.
Pokaż strukturę odpowiedzi (3 pola)
errorobject2 właściwości
codestringwymaganymessagestringwymagany429 Przekroczono limit zapytań
Typ: object.
Pokaż strukturę odpowiedzi (3 pola)
errorobject2 właściwości
codestringwymaganymessagestringwymagany