API Documentation

Developer Reference

Availability

Not every endpoint exists on every install. Three things decide it: the plugin edition, which add-ons are active, and which endpoints an administrator has switched on.

EndpointGratisPRONotas
/me, /openapi
/affiliates, /coupons, /reports/summaryPRO adds mla_parents to the affiliate detail view and the pagos block to the report.
/registrations501 when the registrations table is absent.
/clicks/stats501 when the clicks table is absent.
/events501 when the activity table is absent; 400 when the activity log is switched off.
/keys
/webhooksNot registered at all in the free build. Poll /events en su lugar.
/payoutsNot registered at all in the free build; 501 when the add-on is inactive.

MLA-related access (an upline reading a downline's coupon) and the add-on webhook events likewise exist only where those add-ons do. The safest way to discover what a given install offers is to read /openapi y /webhooks/events rather than assuming.