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
contextIdentry 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
contextIdscope entry, with one or more contexts, and thesourceIdentry when you restrict the partner to sources. Without a scope, Access Manager refuses the partner with400andIDE-1060. - Check the resources and actions. The most you can give is what the
matcher-editorrole holds in your tenant. Above that, Access Manager refuses withIDE-1043. For example,fee-scheduleswithreadis above that role.
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.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 Send the same request with a context outside the scope. The answer is
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: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.

