Connector Details
| Name | Value |
|---|---|
| Platform | API |
| Auth Type | API Keys |
| Direction | Bidirectional |
| Target Repo | https://github.com/hotgluexyz/target-api |
| Tap Metrics | Usage: |
| Target Metrics | Usage: |
Overview
The API connector lets you move data between your product and HTTP endpoints via hotglue. You can use it as a target to send records to an API, or as a source to push JSON data into a hotglue write job.Writing data to an API endpoint
As a target, the API connector sends data to a configured endpoint as JSONPOST requests. Configure the endpoint URL, authentication, and other settings in your flow, and hotglue will deliver records from write jobs to that destination.
The API connector’s write behavior is powered by target-api, a hotglue maintained Singer target. To see all supported settings and capabilities, view the repository’s README.
Pushing data via the API source
As a source, the API connector does not pull data from arbitrary external APIs. Instead, your product pushes data into hotglue, which writes it to the configured target. There are two ways to do this:POST /jobs endpoint
Send records in thestate field of a POST /jobs request. hotglue starts the write job when you call the endpoint, but the records are exported inside the job—not in the API response itself. You won’t receive per-record success or failure in the response; check results in the hotglue dashboard or via the jobs API after the job completes.
Use this approach when you need to send many records at once or want universal support across all targets.
See Trigger a write job via API for request examples and v1/v2 flow details.