Partner and customer portals · REST API

Run your portal headless with a REST API that reaches standard and custom entities alike.

The Magentrix REST API gives your data or engineering team programmatic access to the portal. Pull partner records, push deal updates, connect your data warehouse, build your own applications on portal data, and change the data model itself.

12 of 14API factors where Magentrix scored Strong against five other PRMs
10,000 recordsreturned by a single query
Code or AIrun the portal headless from your own code or an AI assistant
Headless

Your own code and front ends can run the portal without the Magentrix screens.

Headless means your website, your app, or your scripts do the work, while Magentrix stores the data and applies your permissions and validation rules. The REST API reaches records, the data model, whole modules, translations, and portal files.

Your own website or app

Build the front end yourself on portal data. A single-use login token signs users in to the portal from your app, so your app doesn't need to store their password.

Your data model, from scripts

The Entity Management API creates and edits entities, fields, picklists, lookup filters, rollup summaries, and formulas – the work of Setup > Create > Entities. Use it to move changes between environments.

Market Development Funds, end to end

Programs, allocations, requests, approvals, claims, proof of performance, reimbursement, and reports all run over the API, with no portal session.

Translations

Read and submit Translation Studio translations through the API to connect an outside translation service or run large translation jobs.

Email templates

Create and update email templates and their translated versions through the standard record endpoints.

Portal files and assets

Upload, move, and download the portal's images, stylesheets, scripts, and fonts, plus Document Library files and record attachments.

PRM API comparison

The Magentrix API reaches more of the platform than the other PRM APIs we reviewed.

Many PRM APIs expose a few fixed objects. Headless work needs access to the whole data model, a way to discover it, and docs you can read before you commit.

API capability scorecard

How Magentrix compares with five other PRMs that have an API, across 14 factors. Hover over or tap any score or factor to see the reasoning behind it.

FactorMagentrixImpartnerPartnerStackChannelscalerUnifyrChanneltivity
Data access
Entity coverageStrongPartialPartialWeakPartialPartial
Query capabilityStrongPartialPartialWeakWeakWeak
Write accessStrongPartialStrongPartialPartialPartial
Discovery and integration
Schema discoveryStrongWeakPartialPartialWeakWeak
Related recordsStrongWeakPartialPartialPartialWeak
Webhooks and eventsPartialPartialStrongWeakPartialPartial
Interface quality
ConsistencyStrongWeakStrongPartialWeakWeak
Error designStrongWeakPartialPartialWeakWeak
VersioningPartialWeakPartialWeakPartialWeak
Headless partner operations and experience
AI assistant accessStrongPartialStrongWeakStrongWeak
Partner operations through the APIStrongPartialPartialWeakPartialPartial
Your own partner front endStrongWeakWeakWeakPartialWeak
Data model changesStrongWeakWeakWeakWeakWeak
Public API docsStrongWeakStrongPartialWeakWeak
Score:StrongPartialWeak or not found

How we scored it: each score reflects what the vendor documents publicly. Where a vendor's API reference needs a customer login, we used its public release notes, help articles and third-party connector listings (Zapier, tray.ai), so its scores may understate what its customers can see. Mindmatrix, ZINFI and 360insights weren't included because they have no public API reference. Channelscaler was formerly Allbound, and Unifyr was formerly Zift. Last reviewed: 2 December 2026.

Sources: Magentrix – help. magentrix.com/wikis/devguide · Impartner – impartner. com/lp/mcp, zapier. com/apps/impartner, tray. ai (developer. impartner.com needs a login) · PartnerStack – docs. partnerstack.com, support. partnerstack.com · Channelscaler – developers. allbound.com, channelscaler. com/scailyn-ai-agent · Unifyr – help-admin. unifyr.ai release notes, unifyr. com/product/model-context-protocol · Channeltivity – help. channeltivity.com, channeltivity. com/prm-integrations/other

Headless with or without AI

Run the portal headless with AI or without it.

You have options for working headlessly. Magentrix has always been headless through the REST API, and now our MCP server unlocks that capability with AI too.

Without AI

Your code calls the REST API

Scripts, integrations, and your own website or app read and write portal data with an access token. This suits bulk work and scheduled syncs.

With AI

Your AI assistant works through the MCP server

Claude, ChatGPT, and Microsoft Copilot can connect to the portal to look up, create, and update records. An admin turns the connection on, and the AI can only do what the signed-in person is allowed to do. See the MCP server

Claude Artifacts

Build Claude Artifacts that read and update live Magentrix data.

A Claude Artifact is an interactive page Claude builds for you, such as a dashboard, a tracker or a deal review board. Once your portal is connected to Claude through our MCP server, an artifact can pull partner records and write changes back to the portal.

  • Each viewer uses their own Magentrix access, so the artifact only shows or changes what that person is allowed to.
  • Share one artifact with your team, and each person sees the data through their own connection.
  • No server to host or maintain – the artifact runs in Claude.
Use case A private dashboard on each partner for your channel team

Ask Claude to pull a partner's deals, training progress and MDF claims from Magentrix into a report, presented as a Claude Artifact. Your channel team gets a private dashboard on each partner in a matter of seconds.

What teams build

Teams use the API to move partner data between Magentrix and the systems they already run.

Every example below uses the same endpoints and the same access token.

Report on partners in your BI tool

Query partner accounts, deals, and activity with MEQL and load them into Snowflake, BigQuery, Looker, or another warehouse or BI tool.

Push deal updates in from other systems

Create and update records from your CRM, ERP, or billing system, one record or a list of records per request.

Sync contacts without duplicates

Upsert matches on a unique field such as email, so one call updates the existing record or creates a new one.

Start portal work from outside events

Write a record when a payment lands in billing, a course is completed in another LMS, or a lead score crosses a threshold. Triggers run your own logic when that record is created or updated.

Send updates out to other systems

Server-side code in Magentrix can call outside APIs with GET, POST, PUT, PATCH, and DELETE requests through the HTTP Helper class.

Build Iris apps inside the portal

Iris apps are Vue.js apps that run inside the portal. They use the Magentrix SDK, which is built on the REST API.

What the API covers

The API covers your records, your files, and the data model itself.

Each response reports whether the call succeeded and lists any errors with a code, the field name, and a message.

Query with MEQL

A SQL-like query language with filters, sorting, grouping, and totals. A query returns up to 10,000 records, plus the total count for paging.

POST /api/3.0/query

Search with MESL

Full-text search across the search index, with results sorted by how closely they match the keywords.

POST /api/3.0/search

Create, update, upsert, and delete

Send one record or a list in JSON or XML. Deleted Magentrix records go to the recycle bin and can be restored for 30 days.

/api/3.0/entity/{entity}

Read related records

Follow lookups in a query with dot notation, such as Account.Name on a contact, or read a record's child records in one call.

GET /api/3.0/entity/{entity}/{id}/{relationship}

Describe entities and fields

List the entities a user can access and read each one's fields and relationships, so integrations don't hard-code the data model.

GET /api/3.0/entity/{entity}/metadata

Change the data model

Create and edit custom entities, fields, picklists, lookup filters, rollup summaries, and formula fields with the Entity Management API.

/api/3.0/entity/entityfield

Upload and download files

Add files to the Document Library, record attachments, or Salesforce Files from a download URL, and download them by ID.

/api/3.0/file

Module APIs

Separate endpoints cover Market Development Funds, Translation Studio, and the portal's static assets.

/api/3.0/mdf/{resource}
How it's built

The API sits on the same three layers that run the portal.

Magentrix uses a model–view–controller (MVC) architecture, so outside systems, your custom code, and the portal screens all work with the same data.

Magentrix platformModel–view–controller architecture
Controller (API layer)Receives HTTP requests and routes them
Business logicYour custom code, triggers, and rules
Model (standard and custom entities)The data layer

Controller (API layer)

Sits on top. It takes each HTTP request, passes it to the business logic, and returns JSON, files, or pages. This is the layer outside systems talk to.

Business logic

Kept separate from the data model. Your own C# code runs here – deal scoring, triggers, validation rules, and custom integrations.

Model (standard and custom entities)

The data layer. Entities you create use the same REST endpoints and query syntax as the standard ones.

Custom entities

Custom entities work in the API the same way as standard ones.

MEQL treats the entity name as a parameter, standard or custom. You query a partner account and your own Partner_Plan__c entity with the same syntax, the same filters, and the same endpoint – so integrations need no special handling for the entities you add.

One query syntax for every entity
SELECT Id, Name FROM Account WHERE Type = "Partner" SELECT Id, Name, Email FROM Contact WHERE Account.Type = "Partner" SELECT Id, Name, Status__c FROM Partner_Plan__c WHERE Status__c = "Active"
Watch: custom entities

See a custom entity created in a partner portal.

Any entity your team adds can be queried, written, and described through the API like the standard ones.

Get started

Connect in three steps with an API key you create yourself.

Each call can only reach the entities and fields the key's user is allowed to access.

1

Create an API key

In the portal, open My Settings, then My External Apps. Create a private app and copy its refresh token – that's your API key.

My Settings › My External Apps › New private app
2

Exchange it for an access token

The token lasts as long as your portal's session timeout. Request a new one with your API key when it expires.

POST /api/3.0/token { "grant_type": "refresh_token", "refresh_token": "{api key}" }
3

Call any resource

Send the access token in the Authorization header with every request.

POST /api/3.0/query Authorization: Bearer {token} SELECT Id, Name FROM Account
Questions

The REST API, answered.

Is the API documentation public?
Yes. The full REST API v3 reference is in the Magentrix developer guide, which anyone can read without a customer login.
Which records can an API call reach?
The ones the calling user can reach. The entity list and entity descriptions only include the entities and fields that user's permissions allow.
How many records can one query return?
Up to 10,000. The response includes the total number of matching records, so you can page through larger sets with LIMIT and an offset.
Can the API change our data model?
Yes. The Entity Management API creates and edits custom entities, fields, picklists, lookup filters, rollup summaries, and formula fields, which suits deployment scripts and moving changes between environments.
Can our Magentrix code call other systems?
Yes. Server-side code can call outside APIs with the HTTP Helper class – for example, from a trigger that runs when a record is created or updated.

Connect your portal to the systems your teams already use.

Query, write, and describe your portal data – custom entities included – and run the portal headless through one REST API.