Affinity (v1)
Access the Affinity v1 API in 2 minutes 💨
In Tenklo (free signup), go to Integrations -> Configure New Integration -> Affinity (v1).
Go to Connections -> Add Test Connection -> Authorize, then enter your Affinity API Key. Later, you'll let your users do the same directly from your app.
Let's make your first request to the Affinity (v1) API (fetch current user information). Replace the placeholders below with your Environment API key, integration ID, and connection ID:
curl "https://api.tenklo.dev/proxy/auth/whoami" \
-H "Authorization: Bearer <NANGO-API-KEY>" \
-H "Provider-Config-Key: <INTEGRATION-ID>" \
-H "Connection-Id: <CONNECTION-ID>"✅ You're connected! Check the Logs tab in Tenklo to inspect requests.
Next step: Embed the auth flow in your app to let your users connect their Affinity accounts.
Questions? Join us in the Slack community.