Skip to main content
A partner can call Matcher with its own credential. In Matcher, you confine that credential to some reconciliation contexts and, inside a context, to some sources. This page shows how to choose that scope, what it reaches, and what the partner receives when it goes outside it. Every Matcher partner needs a scope. A partner reads and operates inside its scope, but it does not configure: it cannot change contexts, sources, field maps, match rules, fee rules, or schedules.

Step by step


1

Choose the partner's contexts and sources

Matcher has two restrictions. The API field is the field of a scope entry; the Console shows the name in the first column.The scope catalog lists the Matcher restrictions. Read it with Retrieve a product’s scope catalog for matcher.Some rules apply to every scope:
  • A request that does not name a context or a source of the scope is refused. For example, a partner cannot list the contexts of the tenant.
  • A partner restricted to sources also needs the contextId entry with the context of those sources.
2

Give the partner its permissions and scope

Create the partner, or change it, in the Console or with the Identity API. The product slug is matcher.
  • Add the contextId scope entry, with one or more contexts, and the sourceId entry when you restrict the partner to sources. Without a scope, Access Manager refuses the partner with 400 and IDE-1060.
  • Check the resources and actions. The most you can give is what the matcher-editor role holds in your tenant. Above that, Access Manager refuses with IDE-1043. For example, fee-schedules with read is above that role.
A partner receives only the permissions that act on a context or a source. A partner restricted to sources receives only the ones marked source:Most other Matcher permissions act on the whole tenant, and are never given to a partner, not even the read ones, such as fee-schedules with read or audit-logs with read. They are above the matcher-editor role, so Access Manager refuses them with 400 and IDE-1043. Some permissions act on a context or a source, but are above the matcher-editor role too: contexts with clone, imports with create, and extraction-reviews with read or create. So a partner cannot clone a context, upload or fetch a file, or extract a document. The writes that configure a context are above the matcher-editor role too: contexts with update or delete, sources with create, update, or delete, field-maps with create, rules with create, update, delete, or reorder, fee-rules with create, and schedules with create, update, or delete. A partner reads and operates, but it does not configure. Use an application of your own institution to configure a context.
3

Create its Matcher application

Create the partner’s application with the product matcher. See Create the partner’s applications in the API guide, or in the Console. Send the client ID and the client secret to the partner through a secure channel.
4

Tell the partner how to name its contexts and sources

In most routes the partner reaches, the context is already in the path, in /v1/contexts/{contextId}, /v1/imports/contexts/{contextId}, /v1/matching/contexts/{contextId}, or /v1/reports/contexts/{contextId}, so the partner sends nothing extra. A few matching and exception routes name the context in the contextId query. Every value must be inside the partner’s scope.A record of another context, asked for under the path of one of the partner’s contexts, answers 404. Nothing is read, and the answer does not say which context the record belongs to.
These routes do not name a context, and are refused to every partner: listing and creating contexts (GET /v1/contexts, POST /v1/contexts), the routes of one exception or dispute (/v1/exceptions/{exceptionId}/…, /v1/exceptions/bulk/…, /v1/disputes/…), one export job (/v1/export-jobs/…), one fee rule (/v1/fee-rules/{feeRuleId}), one field map (/v1/field-maps/{fieldMapId}), and the routes of fee schedules, format templates, discovery, callback credentials, and governance. Use an application of your own institution for those routes.
A partner can create an export job in its context, but it cannot download the file, because the download route does not name the context. A partner can list the exceptions of its context, but it cannot open, assign, or resolve one exception.
5

Confirm that it works

This check assumes the partner has the contexts resource with the read action on Matcher, and a scope restricted to one or more contexts. Use the partner’s credential. Read a context inside its scope. The answer is 200:
Send the same request with a context outside the scope. The answer is 403 with code AUT-1020.

If something fails


The answer does not say whether the permissions or the scope refused the request. This is on purpose: a partner cannot use a refusal to learn which contexts exist outside its scope. For every other code, see the Matcher error list. For the refusals when you create or change a partner, see Error codes in the API guide.