Authorization: Bearer <TOKEN> header and be scoped to a workspace using your workspace_id. Your data is isolated to your workspace — a credential can only access data in workspaces it is authorized for.
This reference covers verified API endpoints from the SendWhale implementation. If you need an endpoint not listed here, contact support@gosendwhale.com.
Brand Context API
Returns the brand context for a workspace. Use this endpoint to read brand data programmatically for use in AI integrations, external tools, or custom workflows. Method:POST
URL: https://fvtvyejucthdmnpfkrnl.supabase.co/functions/v1/brand-agent
Request headers
Request body
The unique identifier of the workspace whose brand context you want to read. Find your Workspace ID in workspace Settings → Agent Access.
Response
A successful request returns HTTP200 with a JSON object containing your workspace’s brand context.
An array of brand knowledge base entries — facts, guidelines, and reference material stored in the workspace.
Example request
Error codes
Transactional Email API
Transactional email API credentials and endpoints are configured separately from marketing credentials. Contact support@gosendwhale.com to request access and receive your endpoint documentation.
Campaign API
Campaign API operations are also available via the MCP server tools — including
list_campaigns, get_campaign, create_campaign_draft, and update_campaign_draft. See the MCP Tools page for full schemas. A REST endpoint reference for campaign operations is under development.Authentication reference
All API requests require anAuthorization: Bearer <TOKEN> header. The credential type you use depends on the endpoint:
For full details on obtaining and rotating each credential type, see the Authentication page.