DocumentationDocumentation
Talk2Sync Documentation
User Documentation
Connector APIs
  • English
  • Español
Talk2Sync Documentation
User Documentation
Connector APIs
  • English
  • Español
  • User Guide Portal & API Documentation
  • User-documentation

    • User Documentation
    • Guide

      • User Guide: Introduction
      • Core Concepts
    • Talk2sync

      • Connection Buttons
      • Color Coding System
      • Issues and Alerts
      • Command Filters
      • Deleted Information Still Appears: How to Remove It
      • Deletions
    • Conexiones

      • Connection Settings
    • Fields

      • Time Based Sync
      • Data Governance
      • Special and Extra Fields
    • Productos

      • Product Fields
      • Equivalences
      • Product Search
      • Link / Unlink Products
    • Ventas

      • Fields
      • Equivalences
      • Sales Search
      • No SKU (Missing SKU)
    • Reports

      • Product Export
      • Sales Report
    • Faq

      • Amazon

        • Amazon Barcode Requirements
        • Amazon Catalog Discrepancies and ASIN Mismatches
        • Amazon Manufacturer Requirements
        • New ASIN Creation Errors and Invalid Attribute Values
        • Talk2sync, SKUs, and Product Identifiers
        • Amazon Variation Templates
      • Mercadolibre

        • Mercado Libre Official Stores
        • Mercado Libre Locations and Geographic Attributes
        • Mercado Libre Pick-up in Store
        • Mercado Libre Extra Attributes
        • Mercado Libre Image Processing and Synchronization
        • Mercado Libre Seller Unable to List Error
      • Linio

        • Linio Brand Not Registered Error
        • Linio Physical Dimensions and Weight Requirements
  • Connector APIs

    • Connector APIs
    • Quick-start

      • Introduction & Requirements
      • Add Connection
      • Configure Connection
      • Generate Keys
      • Test Your Integration
    • Webhooks

      • Webhooks API
      • Catalog

        • Webhooks: List Products
        • Webhooks: List Product by ID
        • Webhooks: Add/Update Product
      • Sales

        • Webhooks: List Orders
        • List Order by ID
        • Add/Update Order
    • Reverse-connections

      • Reverse Connections
      • Implementation-states

        • Implementation
        • Query Implementation: Products and Orders
        • Store Implementation: Products and Orders
        • Sleep and Timeouts
      • Protocol

        • Protocol
        • Overview
        • Product Upload
        • Order Upload
        • Product Download
        • Order Download
      • Rest-calls

        • REST Calls
        • Fetching-changes

          • Fetching Changes REST Calls
          • Ask if Fetching
          • Catalog

            • Push Products Page
            • Set Finish Product Pushes
          • Sales

            • Push Orders Page
            • Set Finish Order Pushes
            • Set Finish All Pushes
        • Pulling-changes

          • Pulling Changes REST Calls
          • Ask if Pulling
          • Catalog

            • Get Next Product to Pull
            • Pull Products Page
            • Notify Product Storage Success
            • Notify Product Storage Failure
            • Set Finish Product Download
          • Sales

            • Get Next Order to Pull
            • Pull Orders Page
            • Notify Order Storage Success
            • Notify Order Storage Failure
            • Set Finish Order Download
            • Transact Finish Pull

Webhooks API

Overview

Webhooks are HTTP callbacks that Talk2sync triggers when specific events occur in your integrated platform. Your custom application receives real-time POST requests containing event data, allowing you to synchronize products, orders, and other critical information.

How Webhooks Work

  1. An event occurs in Talk2sync (product update, order creation, etc.)
  2. Talk2sync sends an HTTP POST request to your configured endpoint
  3. Your application receives and processes the event data
  4. Your application responds with a confirmation

This is a reactive integration pattern where your system responds to changes initiated by Talk2sync.

Key Characteristics

FeatureDetails
ProtocolHTTP POST requests
FormatJSON
AuthenticationBearer token (see Quick Start)
Timeout1 minute per request
FrequencyReal-time, as events occur
ReliabilitySent once per event

When to Use Webhooks

Webhooks are ideal when:

  • ✓ You need real-time synchronization of products or orders
  • ✓ You prefer Talk2sync to push changes to you
  • ✓ Your system can respond quickly to incoming events
  • ✓ You want to minimize latency in data synchronization

When to Use Reverse Invoke API Instead

Consider the Reverse Invoke API when:

  • You want to control when synchronization happens
  • Your system has specific update schedules
  • You prefer to query for changes periodically
  • You need more control over the sync process

Available Webhooks

Products

Manage your product catalog through webhooks:

  • List Products - Retrieve all products from your system
  • List Product by ID - Retrieve a specific product
  • Add/Update Product - Create or update a product

Orders

Manage your sales orders through webhooks:

  • List Orders - Retrieve all orders from your system
  • List Order by ID - Retrieve a specific order
  • Add/Update Order - Create or update an order

Request/Response Flow

Request from Talk2sync to Your Endpoint

POST /api/products
Host: www.example.com
Authorization: Bearer {YOUR_GENERATED_KEY}
Content-Type: application/json

{
  "event": "product.created",
  "data": {
    // Event-specific data
  }
}

Response from Your Endpoint

Your endpoint must respond within 1 minute with:

{
  "status": "success",
  "message": "Data processed successfully"
}

HTTP Status Codes:

  • 200 OK - Request processed successfully
  • 400 Bad Request - Invalid request data
  • 401 Unauthorized - Invalid or missing security key
  • 500 Internal Server Error - Server error

Authentication

All webhook requests from Talk2sync include your security key in the Authorization header as a Bearer token. Your endpoints must:

  1. Extract the token from the header
  2. Validate it matches your generated key
  3. Reject requests with invalid or missing keys
  4. Include the same key in your response

For detailed implementation, see Generate Keys.


Getting Started

  1. Ensure your endpoints are configured (see Configure Connection)
  2. Your security key is generated (see Generate Keys)
  3. Select the webhooks you want to implement from the list above
  4. Review the detailed documentation for each webhook
  5. Implement the required request/response handlers in your application

Error Handling

When Talk2sync sends a webhook request:

  • If your endpoint does not respond within 1 minute, the request times out
  • Talk2sync will record the timeout as a failed attempt
  • Check your server logs to diagnose the issue
  • Ensure your endpoint processes requests efficiently

For troubleshooting, refer to the specific webhook documentation or contact Talk2sync support.


Next Steps

Choose a webhook to implement:

  • Start with List Products
  • Or jump to List Orders
  • For complete reference, see Reverse Invoke API as an alternative approach
Last Updated: 8/28/26, 12:58 AM