Enroll Clients in Offer
agency_enrollment_enrollCommits the previewed batch: creates new client businesses, records owner approvals and queues package installations for every ready client; installations later configure each client voice agent. Requires an agency owner, admin or operator who created the session, its idempotency key, and the fingerprint and revision from preview. Clients that are not ready are reported with their next step instead of being installed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"partnerId": "<partnerId>",
"sessionId": "<sessionId>",
"expectedRevision": "<expectedRevision>",
"fingerprint": "<fingerprint>",
"approvalIds": "<approvalIds>"
},
"name": "agency_enrollment_enroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partnerId | Yes | The agency (partner) workspace ID. | |
| sessionId | Yes | The enrollment session to commit. | |
| approvalIds | Yes | The approval IDs returned by preview for existing clients. | |
| fingerprint | Yes | The fingerprint returned by preview. | |
| idempotencyKey | No | Stable key for this request; reuse it when retrying the same request. | |
| expectedRevision | Yes | The session revision returned by preview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when success is false | |
| receipt | No | ||
| success | Yes | Whether the tool completed successfully |