Custom endpoint
Connect any JSON HTTP endpoint to SMAQ — for in-house APIs, niche tools that don't have a native integration, or third-party services you already pay for.
If a platform you use isn't natively supported, you can connect to it via its REST/JSON API using the Custom endpoint builder.
What you'll need
The endpoint URL (must return JSON).
The auth method:
None (public endpoints)
API key in header (e.g.
Authorization: Bearer xxx)API key in query string (e.g.
?api_key=xxx)
Optional: query parameters, pagination scheme, and JSONPath expressions to extract the data SMAQ should treat as rows.
Steps to connect
Data Source → Add data source.
Pick Custom endpoint.
Fill in:
Endpoint URL — full URL including any path.
Method — usually GET.
Headers — add
Authorization,Accept, etc. as needed.Query parameters — add any required params (date ranges, pagination cursors).
Click Test to fetch a sample response.
In the Response mapping section, set the JSONPath that points to the array of rows (e.g.
$.data.results).SMAQ auto-detects fields. Optionally rename or change types.
Name and click Save.
[Screen video needed] Connect to a public weather API as an example — paste URL, hit Test, set JSONPath, see rows appear. ~90 seconds.
[Screenshot needed] Response mapping section with auto-detected fields visible and one field's type being changed.
Tips
Test before saving. The Test button shows the raw response — confirms auth works and reveals the JSON shape.
Date columns: tag them as Date type so SMAQ can filter and aggregate by date.
Pagination: if the API uses cursors or
?page=Nstyle pagination, SMAQ can iterate — set the pagination params during connection.
Limitations
SMAQ doesn't support endpoints that need OAuth (use a native integration instead, or pre-fetch with a server-side proxy).
No write-back. Custom endpoints are read-only like every other connection.
Heavy paginated fetches (1000+ pages) may time out — break the date range smaller, or pull through a staging table.
Use cases
Internal sales CRM you've built in-house
Niche ad networks (e.g. retail media platforms without an OAuth API)
SEO tools (Ahrefs/SEMrush) — connect their API endpoints directly
Inventory systems, helpdesks, anything with a documented JSON API
Last updated