API Reference · Platform export
Website Agent API Reference
PREVIEW / SOURCE ONLY — Website Agent management is not deployed, not enabled and not callable through MCP. API and worker release gates remain OFF; these documented candidates are not production access or part of the public endpoint count.
Parameters
| Parameter | Type | Description |
|---|---|---|
Release status | preview/source only | Launch candidate, NOT deployed or enabled. Requires separately approved staged SQL, gateway deployment, worker adapters and security review. Existing widget runtime is separate. |
Authentication | workspace data API key | Use x-amz-security-token. Tenant comes from the validated existing data key; creator must remain a workspace member. Writes require workspace-admin role. Core-scoped keys are denied. Public widget keys cannot administer agents. |
Idempotency-Key | header | Required for persisted writes, 1–128 characters. Same workspace/key/path/payload replays; mismatched reuse returns 409. Secrets are returned once, not again on replay. |
Pagination | limit / after / since | limit 1–100, default 50. Resource after is the returned UUID; events after is the monotonic numeric cursor. Incremental since uses updated_at (messages created_at, visitors last_seen_at); overlap windows and deduplicate by ID. |
Entitlement and costs | unchanged | Paid or active seven-day trial for writes/work. Retained read/export and explicit pause are allowed after trial. Management does not consume data credits. Ingestion confirm_cost is explicit acknowledgement, not a price: production inference quotas/cost approval and worker adapter remain blockers. Existing 120/min and 2,000/hour limits apply. |
Knowledge semantics | queued ingestion | text (≤200,000 characters), qa, url and site requests return job/source IDs. Atomic replacement preserves prior ready knowledge on failed refresh. No draft/publication versions; no file uploads or embeddings exposed. Site worker and pinned HTTPS egress remain prerequisites; no automatic crawl. |
Lifecycle | one per workspace | Existing schema UNIQUE(workspace_id) permits one agent. Create disabled with automatic CRM/healing/speech off; enable requires confirm:true, website and allowed domains. Existing UI still opens its earliest agent; no silent switch, deletion or key rotation. |
Configuration | allowlisted | name, site_url, avatar_url, brand_color (data only), tagline, tone, greeting, icp_profile, value_props, qualification_rules, disqualifiers, booking_link, allowed_domains, proactive_enabled, proactive_exit_intent, proactive_delay_seconds, proactive_scroll_percent, engagement_intensity (low/medium/high). Tenant/key/server flags cannot be assigned. Unsafe auto-CRM/self-heal/voice changes withheld. |
Conversions | reported evidence | Types: meeting.requested, meeting.booking_reported, signup.reported, link.clicked, purchase.reported. Required external_event_id and occurred_at; optional same-agent conversation_id/visitor_id/lead_id. Source customer_authenticated, confidence reported_not_provider_verified. Legacy meeting_booked remains requested_or_unverified. |
Scheduling | preview setup and verified evidence | GET/PATCH /{agent_id}/scheduling: provider (calendly, cal_com, hubspot, google_calendar, widget), booking_url (matching public HTTPS URL), stop_outreach (default false). GET /scheduling/platforms returns setup steps. Saving a link does not connect a scheduler. Read-only OAuth/connection registration is still a release prerequisite; no provider tokens in requests. |
Booking attribution | exact prospect binding | POST /{agent_id}/booking-attributions requires campaign_id/contact_id for one V2 prospect, optional same-agent/email lead_id. Returns a 30-day attribution_token. For Calendly preserve this token as utm_content; other adapters must explicitly preserve it. Duplicate emails never authorize fan-out; absent/invalid attribution is recorded without stopping another prospect. |
Verified bookings | service-only signed ingestion | GET /{agent_id}/bookings is paginated provider evidence. Only a verified connection-bound server adapter can record meeting.booked/meeting.canceled. Customer conversion requests cannot claim verification. Signature, account/event-type identity, entitlement, default-OFF booking gate and atomic evidence/hold commit required. Cancellation never resumes automation. V1, calendar read adapters, real connection setup and final-dispatch QA remain release blockers. |
Webhooks | HMAC-SHA256 | Disabled on create; explicit confirmed enable. Event ID/version, timestamp and v1 signature over timestamp + '.' + raw JSON. Events contain IDs/minimal status; pull leads with your private key. Leased retries 1/5/20/60/240 minutes, sixth failure dead-letter. Delivery worker OFF; no test request or replay endpoint yet. |
GET /v1/website-agents — List agents
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents",
"method": "GET"
}'
POST /v1/website-agents — Create disabled agent
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
Example Request Body:
{
"name": "Website agent",
"site_url": "https://YOUR_PUBLIC_DOMAIN",
"allowed_domains": [
"YOUR_PUBLIC_DOMAIN"
]
}
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents",
"method": "POST",
"body": {
"name": "Website agent",
"site_url": "https://YOUR_PUBLIC_DOMAIN",
"allowed_domains": [
"YOUR_PUBLIC_DOMAIN"
]
}
}'
GET /v1/website-agents/{agent_id} — Get agent
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}",
"method": "GET"
}'
PATCH /v1/website-agents/{agent_id} — Update configuration
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}",
"method": "PATCH"
}'
POST /v1/website-agents/{agent_id}/enable — Enable explicitly
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/enable",
"method": "POST"
}'
POST /v1/website-agents/{agent_id}/pause — Pause
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/pause",
"method": "POST"
}'
GET /v1/website-agents/{agent_id}/install — Installation configuration and diagnostics
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/install",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/scheduling — Get booking preferences
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/scheduling",
"method": "GET"
}'
PATCH /v1/website-agents/{agent_id}/scheduling — Save booking preferences
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
Example Request Body:
{
"provider": "calendly",
"booking_url": "https://calendly.com/YOUR_TEAM/demo",
"stop_outreach": true
}
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/scheduling",
"method": "PATCH",
"body": {
"provider": "calendly",
"booking_url": "https://calendly.com/YOUR_TEAM/demo",
"stop_outreach": true
}
}'
GET /v1/website-agents/{agent_id}/scheduling/platforms — Scheduler setup guides
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/scheduling/platforms",
"method": "GET"
}'
POST /v1/website-agents/{agent_id}/booking-attributions — Bind booking to an exact campaign prospect
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
Example Request Body:
{
"campaign_id": "CAMPAIGN_UUID",
"contact_id": "CONTACT_UUID"
}
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/booking-attributions",
"method": "POST",
"body": {
"campaign_id": "CAMPAIGN_UUID",
"contact_id": "CONTACT_UUID"
}
}'
GET /v1/website-agents/{agent_id}/bookings — List provider-verified booking evidence
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/bookings",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/sources — List knowledge sources
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/sources",
"method": "GET"
}'
POST /v1/website-agents/{agent_id}/sources — Queue knowledge ingestion
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/sources",
"method": "POST"
}'
GET /v1/website-agents/{agent_id}/sources/{source_id} — Get source status
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/sources/{source_id}",
"method": "GET"
}'
DELETE /v1/website-agents/{agent_id}/sources/{source_id} — Remove knowledge source
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/sources/{source_id}",
"method": "DELETE"
}'
POST /v1/website-agents/{agent_id}/sources/{source_id}/refresh — Queue reindex
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/sources/{source_id}/refresh",
"method": "POST"
}'
GET /v1/website-agents/{agent_id}/jobs — List ingestion jobs
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/jobs",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/jobs/{job_id} — Get ingestion job
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/jobs/{job_id}",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/gaps — List unanswered questions
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/gaps",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/visitors — List minimized visitors
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/visitors",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/analytics — Read bounded analytics
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/analytics",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/playbooks — List playbooks
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/playbooks",
"method": "GET"
}'
POST /v1/website-agents/{agent_id}/playbooks — Create disabled playbook
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/playbooks",
"method": "POST"
}'
GET /v1/website-agents/{agent_id}/playbooks/{playbook_id} — Get playbook
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/playbooks/{playbook_id}",
"method": "GET"
}'
PATCH /v1/website-agents/{agent_id}/playbooks/{playbook_id} — Update playbook
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/playbooks/{playbook_id}",
"method": "PATCH"
}'
DELETE /v1/website-agents/{agent_id}/playbooks/{playbook_id} — Delete playbook explicitly
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/playbooks/{playbook_id}",
"method": "DELETE"
}'
POST /v1/website-agents/{agent_id}/simulate — Simulate deterministic playbook selection
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Deterministic strategy selection only, no generated text or full runtime eligibility.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/simulate",
"method": "POST"
}'
GET /v1/website-agents/{agent_id}/conversations — List conversations
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/conversations",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/conversations/{conversation_id} — Get conversation
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/conversations/{conversation_id}",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/conversations/{conversation_id}/messages — Read transcript
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/conversations/{conversation_id}/messages",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/leads — Export normalized leads
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/leads",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/leads/{lead_id} — Get normalized lead
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/leads/{lead_id}",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/conversions — List conversion evidence
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/conversions",
"method": "GET"
}'
POST /v1/website-agents/{agent_id}/conversions — Record customer-reported conversion
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/conversions",
"method": "POST"
}'
GET /v1/website-agents/{agent_id}/events — Poll durable event stream
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/events",
"method": "GET"
}'
GET /v1/website-agents/{agent_id}/webhooks — List webhook subscriptions
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/webhooks",
"method": "GET"
}'
POST /v1/website-agents/{agent_id}/webhooks — Create disabled subscription
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/webhooks",
"method": "POST"
}'
PATCH /v1/website-agents/{agent_id}/webhooks/{webhook_id} — Update subscription
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/webhooks/{webhook_id}",
"method": "PATCH"
}'
DELETE /v1/website-agents/{agent_id}/webhooks/{webhook_id} — Delete subscription explicitly
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/webhooks/{webhook_id}",
"method": "DELETE"
}'
GET /v1/website-agents/{agent_id}/webhooks/{webhook_id}/deliveries — Delivery history
PREVIEW / SOURCE ONLY — not deployed, not enabled, not callable through MCP. Uses existing workspace API key and canonical gateway; no implicit activation or external work.
cURL Example:
curl -X POST 'https://bvjmtgaxijpyasjtaqiv.supabase.co/functions/v1/api-gateway' \
-H 'Content-Type: application/json' \
-H 'x-amz-security-token: YOUR-API-KEY' \
-d '{
"path": "/v1/website-agents/{agent_id}/webhooks/{webhook_id}/deliveries",
"method": "GET"
}'