Skip to content

Brands

GET /rest/v1/brands?select=*,brand_domains(*),competitors(*)
Authorization: Bearer <SUPABASE_JWT>
apikey: <SUPABASE_ANON_KEY>

Returns brands the authenticated user’s organization can see (RLS-filtered).

POST /rest/v1/brands
Content-Type: application/json
Authorization: Bearer <SUPABASE_JWT>
apikey: <SUPABASE_ANON_KEY>
{
"organization_id": "uuid",
"name": "Acme Corp",
"slug": "acme-corp",
"industry": "SaaS",
"region": "US",
"language": "en"
}

After creation, you’ll typically follow up with:

  • POST /rest/v1/brand_domains — register the primary domain
  • POST /rest/v1/competitors — add competitor records
  • POST /rest/v1/prompt_sets + POST /rest/v1/prompts — set up the tracked prompt list
PATCH /rest/v1/brands?id=eq.<uuid>
Content-Type: application/json
Authorization: Bearer <SUPABASE_JWT>
{ "industry": "B2B SaaS" }
DELETE /rest/v1/brands?id=eq.<uuid>
Authorization: Bearer <SUPABASE_JWT>

Cascade-deletes all related rows: prompts, results, citations, suggestions, traffic logs.

Continue: Tracking API

Trigger and inspect AI tracking jobs.