-
Notifications
You must be signed in to change notification settings - Fork 0
REST API
Shane Rounce edited this page May 10, 2026
·
4 revisions
All current routes live under:
adaptive-customer-engagement/v1
This is the main public tracking endpoint.
It accepts event payloads including:
- session UUID
- visitor UUID
- event UUID
- event type
- page URL and path
- post and taxonomy context
- product or brand context
- number ID where relevant
- UTM values
- limited metadata
The endpoint respects:
- the plugin enabled setting
- Do Not Track behaviour
- admin-user ignore rules
- rate limiting
- bot detection
This returns the most appropriate phone number for the current request context.
Useful request inputs include:
pathutm_sourceutm_campaign
The response can include:
number_iddisplay_numbere164_numberlabel
These routes require the plugin management capability and drive the admin app.
GET /admin/dashboardGET /admin/sessionsGET /admin/sessions/{id}GET /admin/companiesGET /admin/companies/{id}GET /admin/commerceGET /admin/callsGET /admin/calls/{id}GET /admin/numbersGET /admin/numbers/{id}
POST /admin/numbersPATCH /admin/numbers/{id}DELETE /admin/numbers/{id}
GET /admin/settingsPOST /admin/settingsGET /admin/reporting-segmentsPOST /admin/reporting-segmentsDELETE /admin/reporting-segments/{id}POST /admin/privacy/purgePOST /admin/enrichment/testGET /admin/sample-dataPOST /admin/sample-dataDELETE /admin/sample-data
If I am extending the plugin, I want REST additions to follow the same basic pattern:
- capability checks on admin routes
- sanitisation close to the request boundary
- simple payload shapes
- predictable naming under the same namespace
- no speculative endpoints that are not yet wired into a real feature