Affinity
Introduction
The Affinity source connector connects to the Affinity API (v2) using an API key.
Setup
- Ensure you have access to an Affinity account with permission to create or view API keys.
- Create or retrieve an Affinity API key from your Affinity workspace settings.
- Add the connector in your workspace and provide the API key as described below.
Authentication
This connector authenticates using a Bearer token.
- Auth type: API key (Bearer token)
- Header used:
Authorization: Bearer <api_key>
During credential validation, the connector calls:
GET https://api.affinity.co/v2/auth/whoami
If the request fails, the connector reports a credential validation error.
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
api_key | string | Yes | Your Affinity API key used as a Bearer token for API requests. |
Streams
This connector is currently under development and does not yet extract data.
- Catalog discovery: Not yet implemented (returns an empty catalog).
- Extraction: Not yet implemented.
When extraction is triggered, the connector will fail with an “in development” message until stream support is added.