Zip [ARCHIVED]
The Zip source syncs purchase requests, purchase orders and invoices from Zip, the procurement and spend approval platform, through Zip's public API. Each stream syncs incrementally on the record's last update time.
Prerequisites
- A Zip account with an administrator who can create API keys.
- A Zip API key with read access to requests, purchase orders and invoices.
Setup guide
Set up Zip
- In Zip, go to Settings > API Keys.
- Create a key with read access to requests, purchase orders and invoices. A restricted, read-only key is enough.
- Copy the key.
Zip's API reference at developer.ziphq.com is only readable with a Zip login.
Set up the Zip connector in Airbyte
- Log into your Airbyte Cloud account or open your self-managed Airbyte instance.
- Click Sources and then click + New source.
- On the Set up the source page, select Zip from the Source type dropdown.
- Enter a name for the Zip connector.
- Enter the API Key.
- Leave API Version at its default unless Zip has asked you to use another version.
- Optionally, set Start Date. See Start Date.
- Click Set up source.
Connector settings
| Input | Type | Description | Default |
|---|---|---|---|
api_key | string | API key created in Zip under Settings > API Keys. Sent in the Zip-Api-Key header. | |
api_version | string | Value sent in the Zip-Api-Version header. | 2024-06-06 |
start_date | string | Only records updated on or after this date are synced on the first sync. UTC, with a Z suffix. | 2020-01-01T00:00:00Z |
Start Date
On the first sync, every stream reads records whose updated_at is on or after this date. For purchase orders, Zip matches on last activity, so some records with an older updated_at also come back (see below). Later syncs use the saved cursor instead. Enter the date as a UTC timestamp with a Z suffix, such as 2024-01-01T00:00:00Z. Fractional seconds are accepted. Values with a numeric offset are rejected.
Connection test
The connection test reads the first page of the requests stream.
Supported sync modes
The Zip source connector supports the following sync modes:
All three streams support incremental syncs on updated_at.
- Incremental syncs filter on the server. The connector sends the saved cursor as a query parameter. Zip names that parameter differently per endpoint:
updated_afteron/invoices, andlast_updated_afteron/requestsand/purchase_orders. - Records at the cursor boundary are read again. Zip's filter includes records whose
updated_atequals the given value, so the next sync re-emits the records at the saved cursor. Use Incremental - Append + Deduped to keep one row perid. purchase_ordersalso returns records with an olderupdated_at. On/purchase_orders, Zip'slast_updated_afterfilter matches on the purchase order'slast_activity_at, not onupdated_at. A purchase order with recent activity (for example a new invoice matched to it) is returned even when itsupdated_atis older than the cursor. The connector emits these records as Zip returns them and the cursor still advances onupdated_at. With Append + Deduped, the destination keeps one row perid. On/requestsand/invoices, every returned record had anupdated_atinside the window.- Timestamps are Unix epoch seconds.
updated_at,created_atand the other*_atfields hold integers such as1718000500, not ISO 8601 strings. The connector declaresupdated_atas an integer and declares the others as strings.
Supported streams
| Stream | API endpoint | Primary key | Sync modes | Incremental cursor | Page size |
|---|---|---|---|---|---|
requests | GET /requests | id | Full refresh, incremental | updated_at | 30 |
purchase_orders | GET /purchase_orders | id | Full refresh, incremental | updated_at | 50 |
invoices | GET /invoices | id | Full refresh, incremental | updated_at | 50 |
Every request asks Zip to include the account's custom fields (include_attributes=true). They arrive in the attributes array of each record.
How the schema is built
The connector does not ship a fixed list of columns. Each stream declares two fields itself, id (string) and updated_at (integer), and discovers the rest at runtime:
- When Airbyte discovers the schema, and once more at the start of each sync, the connector reads the first page of the endpoint, sorted newest first, and declares every top-level key of the first record as a nullable string. In all the data seen so far, Zip returns every key on every record (null when unset), so the first record carries the full field set.
- Nested objects and arrays, such as
vendor,line_items,approvalsandattributes, are declared as strings. The connector emits them as Zip returns them, and most typed destinations store them as JSON text. Parse them in your destination, for example with your warehouse's JSON functions. - Numbers, booleans and epoch timestamps other than
updated_atare declared as strings too. Cast them downstream. - When Zip adds a field, it appears on the next schema refresh in Airbyte. No connector update is needed.
- If an endpoint returns no records when the schema is read, the stream declares only
idandupdated_at. The connector still emits every field, but destinations that write typed columns can drop the undeclared ones. Once the endpoint has data, refresh the schema, then refresh the stream so records already synced get the new columns.
This uses the Airbyte CDK's DynamicSchemaLoader, which the CDK marks as experimental.
Limitations & Troubleshooting
Limitations
- Three streams. Zip's API exposes more objects (vendors, users, accounting codes and others). They are not included yet.
- One schema read per stream per sync. The runtime schema read above costs one extra request per stream on each sync.
- Incremental syncs rely on a Zip fix from August 2026. Before it, Zip's pagination cursor did not tie-break on
updated_at, so records sharing one timestamp could be skipped under the date filters. Zip deployed the fix for/invoicesand/purchase_orderson 2026-08-07 and for/requestson 2026-08-25. - Private API documentation. Zip's developer portal requires a Zip login, so this page cannot link to the reference for each endpoint.
Errors
| Error | Cause | Fix |
|---|---|---|
Zip rejected the API key | Zip returned 401 or 403. | Check the key under Settings > API Keys in Zip, that it has read access to the three objects, and that API Version is one Zip still supports. |
400 with INVALID_PARAM | Zip rejected a query parameter. | Check the API Version setting. |
The connector retries 429, server errors (5xx) and timeouts with exponential backoff, up to five times.
Reference
No configuration specification is available for this connector.
Changelog
Expand to review
| Version | Date | Pull Request | Subject |
|---|---|---|---|
| 0.0.1 | 2026-11-25 | 94067 | Initial release by @MercureTony |