Developer Portal
Manage API keys, webhooks and view API usage
Your API Key
No API key exists yet. Generate one to start using the Surveyz API.
Quick-start
Pass your API key in the X-Api-Key header on every request.
curl https://surveyz.co.za/api/surveys \
-H "X-Api-Key: YOUR_KEY_HERE"
Base URL: https://surveyz.co.za/api | Version alias: https://surveyz.co.za/api/v1
Rate limits
When exceeded, the API returns HTTP 429 with a Retry-After: 60 header.
Key Settings
Public B2B Endpoint Reference
All endpoints require X-Api-Key or a JWT Bearer token unless noted.
| Method | Path | Description | Scope |
|---|---|---|---|
| GET | /api/surveys | List your surveys | read_only |
| GET | /api/surveys/{id} | Get a single survey | read_only |
| POST | /api/surveys | Create a survey | full |
| PUT | /api/surveys/{id} | Update a survey | full |
| DELETE | /api/surveys/{id} | Delete a survey | full |
| GET | /api/surveys/{id}/responses | List responses | read_only |
| GET | /api/surveys/{id}/export | Export responses (CSV/JSON) | read_only |
| GET | /api/developer/api-key | View key metadata | read_only |
| GET | /api/developer/audit-logs | View API audit log | read_only |
| GET | /api/webhooks | List webhooks | read_only |
| POST | /api/webhooks | Create webhook | full |
| DELETE | /api/webhooks/{id} | Delete webhook | full |
| Time | Method | Path | Status | Duration | Auth | IP |
|---|---|---|---|---|---|---|
| Loading... | ||||||
Webhook Subscriptions
We sign payloads with HMAC-SHA256. Verify the X-Surveyz-Signature header.
No webhooks yet. Add one to receive real-time event notifications.