Management API
Workspace-scoped resources behind a Bearer API key at app.contactusiq.com/v1. Planned; the resources and operations below are the ones the spec lists.
Status: planned. The management API is not live. This page lists the resources and operations exactly as the product spec defines them so integrations can be designed against them. Request and response bodies are not yet specified; openapi.yaml carries each operation with x-status: planned.
Authentication
GET https://app.contactusiq.com/v1/forms
Authorization: Bearer <workspace API key>An API key is scoped to one workspace, stored hashed, and carries a visible prefix for identification. Keys can be rotated without downtime. The dashboard session works for the same endpoints; the management API and the dashboard share one service layer, so nothing is reachable from the dashboard that is not also reachable with a key.
Plan access: none on Free; API read on Pro; API read and write on Business.
Resources
HTTP verbs below follow REST conventions for the operation names in the spec (list GET on the collection, create POST, get GET /{id}, update PATCH /{id}, delete DELETE /{id}, named actions POST /{id}/{action}).
/v1/domains
| Operation | Request |
|---|---|
| list | GET /v1/domains |
| create | POST /v1/domains |
| get | GET /v1/domains/{id} |
| delete | DELETE /v1/domains/{id} |
| verify (trigger a check now) | POST /v1/domains/{id}/verify |
| records (the DNS records to add) | GET /v1/domains/{id}/records |
/v1/recipients (Phase 2)
| Operation | Request |
|---|---|
| list | GET /v1/recipients |
| create (sends confirmation) | POST /v1/recipients |
| delete | DELETE /v1/recipients/{id} |
| resend confirmation | POST /v1/recipients/{id}/resend-confirmation |
/v1/forms
| Operation | Request |
|---|---|
| list | GET /v1/forms |
| create | POST /v1/forms |
| get | GET /v1/forms/{id} |
| update | PATCH /v1/forms/{id} |
| publish | POST /v1/forms/{id}/publish |
| archive | POST /v1/forms/{id}/archive |
| snippet | GET /v1/forms/{id}/snippet |
/v1/submissions
| Operation | Request |
|---|---|
| list with filters (form, domain, status, date range, spam) | GET /v1/submissions |
| get | GET /v1/submissions/{id} |
| mark read | POST /v1/submissions/{id}/read |
| archive | POST /v1/submissions/{id}/archive |
| mark spam | POST /v1/submissions/{id}/spam |
| mark not spam | POST /v1/submissions/{id}/not-spam |
| export CSV | GET /v1/submissions/export |
/v1/notifications (Phase 2)
| Operation | Request |
|---|---|
| list per submission | GET /v1/notifications?submission={id} |
| retry | POST /v1/notifications/{id}/retry |
/v1/sending-domain (Phase 2)
| Operation | Request |
|---|---|
| get | GET /v1/sending-domain |
| create | POST /v1/sending-domain |
| verify | POST /v1/sending-domain/verify |
| test send | POST /v1/sending-domain/test-send |
One sending domain per workspace.
/v1/webhooks (Phase 2)
| Operation | Request |
|---|---|
| list | GET /v1/webhooks |
| create | POST /v1/webhooks |
| delete | DELETE /v1/webhooks/{id} |
| test | POST /v1/webhooks/{id}/test |
Events are signed with HMAC-SHA256 and retried 6 times. See Webhooks.
/v1/usage
| Operation | Request |
|---|---|
| current period counts against plan limits | GET /v1/usage |
/v1/admin/* (platform admins only)
Workspaces, domains, suspensions, plan overrides, provider health and the audit log. Requires the platform role; every action is written to the audit log with the acting account and persona. Not available to workspace API keys.
Inbound webhooks the platform receives
These are not customer-facing but explain what updates the resources above:
| Source | Purpose |
|---|---|
| Amazon SES via SNS (Phase 2) | delivery, bounce and complaint notifications update notifications |
| Stripe | subscription created, updated, cancelled, payment failed update subscriptions |
| Turnstile | none; verification is a synchronous call from the intake function |
WordPress plugin usage
The WordPress plugin already calls POST /v1/domains/{id}/verify with its site-scoped key and a JSON body {"method":"meta","site":"<home_url>"}, and expects a status and message in the response. The site-scoped key type and the Connect page are TODO(spec) on the server side.