Mediator API Reference
The Mediator API provides programmatic control over CarrierX call mediation services. It enables partners to create and manage call forwarding rules, two-stage dialouts, and associated resources such as accounts and DIDs (Direct Inward Dialing numbers).
The API consists of several core objects that work together to define call routing logic and connection behavior:
- Account — Represents the Mediator API account associated with a partner.
- Binding — Defines a forwarding rule that connects an originating phone number to a destination through a redirect DID.
- Dialout — Defines a two-stage call that connects two parties through a redirect DID.
- DID — Represents a phone number rented through CarrierX for use as a redirect or connection endpoint.
These objects form the foundation for creating automated, flexible, and trackable call connections between endpoints using CarrierX infrastructure.