Open-Source Affinity Connector
The Affinity connector enables easy and secure data synchronization between your application and your customers’ Affinity accounts through unified data models.
OAuth
The Affinity connector uses OAuth for secure authentication. When creating a connection, the required OAuth scopes are automatically configured based on your specific operations needs (e.g. genericContact::create
, genericUser::list
).
✓ Automatic token refresh handling
✓ Proactive insufficient permissions detection
View our step-by-step integration guide
Whitelabel
Supported
You can choose to provide your own set of clientId
and clientSecret
for this
connector from the Morph Cloud dashboard; allowing a fully whitelabled experience
for your end-customers.
Try a live demo of Affinity connection ✨
Live Demo
Select a connector below to experience our seamless authentication flow and see
how easy it is to connect third-party services.
Contact
The Affinity connector seamlessly integrates with our unified genericContact
model, enabling you to manage Contacts with rich data including firstName
, lastName
, phoneNumber
, email
and other key details
API Reference
GET | /resources/genericContact | List and Search Affinity Contacts |
GET | /resources/genericContact/:id | Retrieve a Affinity Contact |
POST | /resources/genericContact | Create a Affinity Contact |
PATCH | /resources/genericContact/:id | Update a Affinity Contact |
DEL | /resources/genericContact/:id | Delete a Affinity Contact |
Custom Fields
Supported
The Affinity connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Affinity Contact custom fields to the unified contact model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
Company
The Affinity connector seamlessly integrates with our unified genericCompany
model, enabling you to manage Companies with rich data including name
and other key details
API Reference
GET | /resources/genericCompany | List and Search Affinity Companies |
GET | /resources/genericCompany/:id | Retrieve a Affinity Company |
POST | /resources/genericCompany | Create a Affinity Company |
PATCH | /resources/genericCompany/:id | Update a Affinity Company |
DEL | /resources/genericCompany/:id | Delete a Affinity Company |
Custom Fields
Supported
The Affinity connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Affinity Company custom fields to the unified company model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
User
The Affinity connector seamlessly integrates with our unified genericUser
model, enabling you to manage Users with rich data including firstName
, lastName
, email
and other key details
API Reference
GET | /resources/genericUser | List and Search Affinity Users |
GET | /resources/genericUser/:id | Retrieve a Affinity User |
POST | /resources/genericUser | Create a Affinity User |
PATCH | /resources/genericUser/:id | Update a Affinity User |
DEL | /resources/genericUser/:id | Delete a Affinity User |
Custom Fields
Supported
The Affinity connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Affinity User custom fields to the unified user model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
Workspace
The Affinity connector seamlessly integrates with our unified genericWorkspace
model, enabling you to manage Workspaces with rich data including name
and other key details
API Reference
GET | /resources/genericWorkspace | List and Search Affinity Workspaces |
GET | /resources/genericWorkspace/:id | Retrieve a Affinity Workspace |
POST | /resources/genericWorkspace | Create a Affinity Workspace |
PATCH | /resources/genericWorkspace/:id | Update a Affinity Workspace |
DEL | /resources/genericWorkspace/:id | Delete a Affinity Workspace |
Custom Fields
Supported
The Affinity connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Affinity Workspace custom fields to the unified workspace model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
Opportunity
The Affinity connector seamlessly integrates with our unified crmOpportunity
model, enabling you to manage Opportunities with rich data including name
, amount
, currency
, pipeline
, stage
and other key details
API Reference
GET | /resources/crmOpportunity | List and Search Affinity Opportunities |
GET | /resources/crmOpportunity/:id | Retrieve a Affinity Opportunity |
POST | /resources/crmOpportunity | Create a Affinity Opportunity |
PATCH | /resources/crmOpportunity/:id | Update a Affinity Opportunity |
DEL | /resources/crmOpportunity/:id | Delete a Affinity Opportunity |
Custom Fields
Supported
The Affinity connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Affinity Opportunity custom fields to the unified opportunity model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
Pipeline
The Affinity connector seamlessly integrates with our unified crmPipeline
model, enabling you to manage Pipelines with rich data including name
, stages
and other key details
API Reference
GET | /resources/crmPipeline | List and Search Affinity Pipelines |
GET | /resources/crmPipeline/:id | Retrieve a Affinity Pipeline |
POST | /resources/crmPipeline | Create a Affinity Pipeline |
PATCH | /resources/crmPipeline/:id | Update a Affinity Pipeline |
DEL | /resources/crmPipeline/:id | Delete a Affinity Pipeline |
Stage
The Affinity connector seamlessly integrates with our unified crmStage
model, enabling you to manage Stages with rich data including pipeline
, name
, type
and other key details
API Reference
GET | /resources/crmStage | List and Search Affinity Stages |
GET | /resources/crmStage/:id | Retrieve a Affinity Stage |
POST | /resources/crmStage | Create a Affinity Stage |
PATCH | /resources/crmStage/:id | Update a Affinity Stage |
DEL | /resources/crmStage/:id | Delete a Affinity Stage |
Engagement
The Affinity connector seamlessly integrates with our unified crmEngagement
model, enabling you to manage Engagements with rich data including type
, direction
, status
, title
, description
and other key details
API Reference
GET | /resources/crmEngagement | List and Search Affinity Engagements |
GET | /resources/crmEngagement/:id | Retrieve a Affinity Engagement |
POST | /resources/crmEngagement | Create a Affinity Engagement |
PATCH | /resources/crmEngagement/:id | Update a Affinity Engagement |
DEL | /resources/crmEngagement/:id | Delete a Affinity Engagement |
Custom Fields
Supported
The Affinity connector supports our Field Mapping
feature, enabling you or your customers to seamlessly map Affinity Engagement custom fields to the unified engagement model. This allows for flexible data synchronization while maintaining data consistency across all connectors.
Supported
Can’t find the unified model you need? The Affinity connector supports your own custom model.
Events Subscription
The Affinity connector supports real-time event subscriptions, allowing you to receive instant notifications when records are created, updated, or deleted. Below are the supported models and their corresponding triggers.
Models | Created | Updated | Deleted | API Reference |
---|---|---|---|---|
genericContact | ||||
genericCompany | ||||
genericUser | ||||
genericWorkspace | ||||
crmOpportunity | ||||
crmPipeline | ||||
crmStage | ||||
crmEngagement |
Supported
The Affinity connector supports our Proxy Request
feature, allowing you to directly
call any endpoints from Affinity’s public API without needing to handle authentication.
Your customer’s token will be automatically set and refreshed as needed, enabling
quick implementation of custom connector behaviors. View API Reference.