Skip to main content

REST API

Call HTTP APIs as queries. Configure URL, method, headers, body, and authentication on the REST datasource or per query.

Typical flow

  1. Create a REST API datasource (base URL and shared auth if needed).
  2. Add a query — set path, method, and body.
  3. Run the query and bind {{QueryName.data}} (or the relevant response path) to widgets.

Tips

  • Store secrets in datasource authentication fields, not in widget text.
  • Use environments for different base URLs.
  • See Query settings for smart JSON substitution.