Parallel profiles work similarly to CRM objects, allowing you to programmatically manage and track your customer information. This guide will help you understand how to integrate your systems with Parallel profiles using our API and webhooks.
Prerequisites
Before starting the integration, make sure you have:
An API key with the necessary permissions to manage profiles.
A clear understanding of your profile types and properties.
Properly configured access permissions for the integration user.
Profile integration points
There are two main ways to interact with Parallel Profiles:
Implementing Webhook listeners
Parallel sends webhook notifications for various profile events. Here are the main events you might want to handle:
Profile creation and updates
PROFILE_CREATED
: Triggered when a new profile is created.PROFILE_UPDATED
: Sent after any profile property is updated.
Relationship changes
PROFILE_RELATIONSHIP_CREATED
: When profiles are linked.PROFILE_RELATIONSHIP_REMOVED
: When relationships between profiles are removed.
Status changes
PROFILE_CLOSED
: When a profile is closed.PROFILE_REOPENED
: When a closed profile is reactivated.PROFILE_SCHEDULED_FOR_DELETION
: Before permanent deletion.PROFILE_ANONYMIZED
: When a profile has been anonymized after the data retention period.
Best practices
Error handling: Implement proper error handling for both API calls and webhook processing.
Webhook reliability:
Implement idempotency checks using the event ID.
Add retry logic for failed processing.
Store raw webhooks before processing them.
Data synchronization:
Use webhooks for real-time updates.
Implement periodic full synchronization to ensure consistency.
Handle data conflicts appropriately.
Security:
Keep your API keys secure.
Validate webhook signatures.
Follow the principle of least privilege when configuring integration users.
Managing different profile types
Remember that different profile types (for example, individuals vs. companies) have different properties and requirements:
Individual Profiles: Focused on personal identification and verification.
Company Profiles: Handle corporate structure and ownership information.
Getting help
If you encounter any issues:
Check the API documentation at https://www.onparallel.com/developers/api.
Contact Parallel support for technical assistance.