Skip to main content

HTTP API

If a tool doesn't have a dedicated connector but does have an API, connect it over HTTP. Columns can read JSON responses from REST APIs and CSV/TSV files served over HTTP.

Connect​

  1. Choose Connect URL. The Connect HTTP API dialog opens.

  2. Enter the HTTP endpoint URL (http:// or https://).

  3. Add request headers if the API needs them, typically for authentication:

    Authorization: Bearer <your-token>
  4. For JSON, use the JSON Mapping Tree to pick the node that holds your records, for example data.items. Each object in that array becomes a row.

  5. Check the Preview Samples, then save the source.

HTTP API JSON mapping

Examples​

Endpoint returnsSelect
[{...}, {...}]The root
{ "results": [{...}] }results
{ "data": { "orders": [{...}] } }data.orders

Nested objects inside each record are flattened into columns. Use a Flow transformation to rename or reshape them.

Keeping it in sync​

Each sync calls the endpoint again. Put the flow on a schedule to keep it current.

Tips​

  • Use an API token with read-only permissions.
  • If the API pages its results, request a page size big enough for your data, or point Columns at an export endpoint.
  • Background on HTTP sources: Support HTTP data source.