Admin endpoints provide system management capabilities including batch operations and module execution.
Authentication
All admin endpoints require a valid Admin JWT with fullAccess claim.
Endpoints
Execute Sequence
POST /admin/sequences/{id}/execute
Manually triggers the execution of an email sequence. Useful for testing and one-off sends.
| Parameter | Type | Description |
|---|
id | string | Sequence ID to execute |
Upsert Segments
POST /admin/segments/upsert
Creates or updates customer segments for the Reactivate module.
{
"brandId": "uuid",
"segments": [
{
"name": "High Value",
"criteria": {
"minPurchaseAmount": 500,
"minOrders": 3
}
}
]
}