Skip to main content

Overview

The Webhook (Custom) provider lets you connect Permutive to your own content classification system. Permutive calls an HTTPS endpoint you control to retrieve classifications and taxonomy definitions, giving you full flexibility to use an in-house or third-party classification system that is not available as a native provider.
Prerequisites:
  • Access to the Permutive Dashboard with admin permissions
  • A publicly reachable HTTPS endpoint that implements the two request types described below
  • The Webhook (Custom) provider enabled for your workspace (contact your Customer Success Manager)

How It Works

Permutive calls your endpoint with two types of POST request:
  • Classifications request — sent each time Permutive needs to classify a URL. Your endpoint returns the classification results for that URL.
  • Taxonomies request — sent to retrieve the structure of any custom taxonomies your classifications reference. Only required if you use custom (non-standard) taxonomies.
Both requests are sent to the same endpoint URL you configure in the dashboard.

Enabling and Configuring the Provider

1

Navigate to Catalog

In the Permutive Dashboard, go to Contextual > Catalog.
2

Locate the Webhook (Custom) provider

Find the Webhook (Custom) provider in the catalog. If it is not visible, contact your Customer Success Manager to have it enabled for your workspace.
3

Enable the provider

Toggle the provider on to enable it.
4

Configure provider settings

Set the following provider-specific fields:
5

Save your configuration

Save the provider settings. Permutive will begin calling your endpoint when pages are classified.
Optimizing quota usage: Use the Selective Classifications Threshold in the provider settings to restrict classification calls to high-traffic URLs. This reduces unnecessary calls to your endpoint and focuses your classifications where they have the most impact.

Endpoint Contract — Classification Requests

When Permutive needs to classify a URL, it sends the following POST request to your endpoint:
Your endpoint must respond with a JSON object in this format:

Response Fields

Supported dimension types: The Webhook provider supports all dimension types — categories, keywords, entities, concepts, sentiment, and emotion — but the types actually available in Permutive depend on what your endpoint returns.

Endpoint Contract — Taxonomy Requests

When Permutive encounters a taxonomy value in a classification response that does not match a standard taxonomy, it calls your endpoint to retrieve the taxonomy definition:
Your endpoint must respond with an array of taxonomy objects. If you do not use any custom taxonomies, return an empty array ([]).

Response Fields

Custom Classifications

You can use the Webhook provider to import custom content classifications into Permutive. If you need to discuss your classification requirements or explore alternative approaches, contact your Customer Success Manager.

Next Steps

Enabling Classification Providers

Configure general provider settings such as domains and quota

Previewing Classifications

Test how your webhook endpoint classifies content

Creating Contextual Cohorts

Build audience segments using your custom classifications

Back to Contextual Cohorts

Return to product overview