Activations API
Create and manage activation connectors that push segment membership to external marketing and personalization platforms.
Create a Connector#
POST /api/activations/
ℹ Note
Sensitive config fields (
api_key, client_secret, etc.) are always masked as “***” in API responses.Connector Config Fields#
Klaviyo
| Field | Description |
|---|---|
| list_id | Klaviyo List ID (e.g. AbCdEf) |
| api_key | Klaviyo Private API Key |
Braze
| Field | Description |
|---|---|
| rest_endpoint | Your Braze REST endpoint, e.g. https://rest.iad-01.braze.com |
| api_key | Braze REST API Key |
| segment_id | (Optional) Braze Segment ID |
TalonOne
| Field | Description |
|---|---|
| base_url | Your TalonOne base URL, e.g. https://mycompany.talon.one |
| api_key | TalonOne Management API Key |
| audience_id | TalonOne Audience ID |
List Connectors#
GET /api/activations/
Activate / Pause a Connector#
PATCH /api/activations/<id>/
Trigger an Immediate Sync#
POST /api/activations/<id>/sync/
Connector Statuses#
| Status | Meaning |
|---|---|
| inactive | Created but not enabled. No automatic syncs. |
| active | Syncs automatically after each segment recompute. |
| error | Last sync failed. Check last_error for details. |
Sync Lifecycle#
- Segment recompute completes
- SegOps queries all
activeconnectors for the segment - Each connector dispatched to Celery worker (
_sync_single_activation) - Worker calls the connector's sync method
- Success:
last_synced_atupdated, status staysactive - Failure:
last_errorupdated, status set toerror