To integrate your CRM with Patagon, we need you to provide access to your lead data through your API.
This documentation describes the information we require and how we can consume it from your system.
circle-check
Key Idea: Patagon needs to pull lead data from your CRM/API to process it within our platform.
There are two main integration models:
Option 1 — Push (Client → Patagon)
You send lead data directly to our endpoints
We authenticate using your API Key
We process and store the data inside Patagon’s CRM
Option 2 — Pull (Patagon → Client)
You provide us with access to your API
We periodically request new or updated leads
We sync the data with our system
triangle-exclamation
This documentation focuses on the information we need to receive from your system .
To Establish the Integration, We Need:
Your API endpoint(s) (base URLs)
Authentication credentials (API Key, OAuth, JWT, etc.)
API documentation (if available)
Sandbox / staging environment (for initial testing)
2. Rate Limit Details
Request limits per minute/hour
Scheduled maintenance windows (if any)
Technical point of contact on your side
Support channel (email, Slack, etc.)
Authentication & Security
Supported Authentication Methods
Patagon can connect to your system using:
Preferred:
OAuth 2.0 (Client Credentials or Authorization Code)
Also supported:
Security Requirements
triangle-exclamation
All connections must use HTTPS/TLS.
We will need to know:
Authentication method used
Token expiration time (if applicable)
Authentication Example
If your API uses a Bearer Token, our requests will follow this format:
🔗 Endpoints We Need to Consume
To enable a complete integration, your API must expose the following endpoints:
1. List Leads (Required)
Endpoint to fetch leads, preferably with pagination and date filters.
Recommended parameters:
page or offset — Pagination control
limit or per_page — Items per page
updated_since — Filter by last update
created_since — Filter by creation date
Example request:
2. Get Lead by ID (Recommended)
3. Webhooks for Notifications (Optional)
If your system supports webhooks, we can receive real-time notifications when:
Expected format:
🏷️ Field Mapping
Below are examples of fields Patagon needs to receive from your CRM.
Field mapping will be finalized during the technical kickoff.
🛠️ 🛠️ Sample API Responses
Example 1: Lead List
Request:
Expected Response:
circle-check
Format may vary — as long as lead data and pagination info are present.
Example 2: Individual Lead
Request:
Expected Response:
🚫 Error Handling
A robust API integration depends on correct HTTP status codes.
Here’s how we handle them:
Patagon is fully compliant with LGPD/GDPR.
All received data is:
Transmitted via HTTPS/TLS
Accessed only by authorized systems
Retained according to the agreed privacy policy
FAQ — Frequently Asked Questions
chevron-right How often will Patagon query our API? hashtag The frequency is defined during the technical kickoff. It typically ranges from every 5 to 30 minutes, always respecting your API’s rate limits.
chevron-right Do you store all data or only references? hashtag We store the mapped fields required to process leads inside our CRM. All storage details are reviewed during the kickoff.
chevron-right What happens if our API becomes unavailable? hashtag We have an automatic retry system with alerts. Once your API is available again, synchronization resumes without intervention.
chevron-right Do we need to build a new API? hashtag No. If your CRM already provides an API, we can usually connect directly. If not, we can explore alternatives such as webhooks or iPaaS connectors.
chevron-right How long does the integration take? hashtag Typically 1–2 weeks after the technical kickoff, depending on the complexity of your setup.
Last updated 4 months ago