Base URL
All API requests are made to:/v1/. The API is hosted in Europe (GCP europe-west1) with global reach via Cloudflare.
Authentication
All requests require authentication. Wede supports two methods: API Key - for server-to-server integrations:/v1/auth/login):
Response Format
All responses are JSON. Every response includes arequest_id for support tracing.
Success:
Rate Limiting
Rate limits are applied per tenant per minute based on your plan:| Plan | Limit |
|---|---|
| Starter | 500 req/min |
| Core | 1,000 req/min |
| Mission-Critical | Unlimited |
| Header | Description |
|---|---|
x-ratelimit-limit | Requests allowed per minute |
x-ratelimit-remaining | Remaining requests this window |
x-ratelimit-reset | UTC timestamp when limit resets |
Idempotency
All write operations accept anidempotency_key. Use this to safely retry requests without creating duplicates - Wede guarantees exactly-once delivery per key.
Offline Behaviour
When connectivity is unavailable, Wede automatically queues events and delivers them when connectivity is restored. Thechannel_selected field in the response indicates the delivery path used:
| Channel | Meaning |
|---|---|
rest_full | Delivered via HTTPS |
sms | Delivered via structured fallback protocol |
queued_offline | Queued for delivery on reconnection |

