Skip to main content
Integrating with Profiles
Martina avatar
Written by Martina
Updated over 2 weeks ago

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:

  1. An API key with the necessary permissions to manage profiles.

  2. A clear understanding of your profile types and properties.

  3. Properly configured access permissions for the integration user.

Profile integration points

There are two main ways to interact with Parallel Profiles:

  1. REST API: For direct operations such as creating, reading, updating, and listing profiles

  2. Webhooks: For receiving real-time notifications about profile changes

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

  1. Error handling: Implement proper error handling for both API calls and webhook processing.

  2. Webhook reliability:

    • Implement idempotency checks using the event ID.

    • Add retry logic for failed processing.

    • Store raw webhooks before processing them.

  3. Data synchronization:

    • Use webhooks for real-time updates.

    • Implement periodic full synchronization to ensure consistency.

    • Handle data conflicts appropriately.

  4. 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:

  1. Check the API documentation at https://www.onparallel.com/developers/api.

  2. Contact Parallel support for technical assistance.

Did this answer your question?