Create Endorsement Draft for Insurance Brokerage Policy Action

Start an endorsement draft of an insurance brokerage policy with optional policy detail overrides.

This action is available in API version 67.0 and later.

Special Access Rules 

This action is available in Enterprise, Unlimited, and Developer Editions where Financial Service Cloud and Insurance Brokerage are enabled. To use this action, you need the Insurance Brokerage User permission set.

Supported REST HTTP Methods 

URI: /services/data/vXX.X/actions/standard/endorseDraftInsBrokeragePolicy

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

Inputs 

InputTypeDescription
inputRepApex-definedRequired. An Apex ConnectApi__EndorseDraftBrokeragePolicyIAInputRep record that contains the details of the original brokerage policy to endorse.

Outputs 

OutputTypeDescription
draftPolicyIdstringID of the newly created endorsement draft policy.

Example 

POST

This sample request is for the Create Endorsement Draft for Insurance Brokerage Policy action.

1{
2  "inputs": [
3    {
4      "inputRep": {
5        "policyId": "0YjXX0000000001",
6        "endorsementDate": "2026-08-01",
7        "effectiveFromDate": "2026-08-01",
8        "effectiveToDate": "2027-08-01",
9        "policyName": "Updated Policy Name",
10        "policyNumber": "POL-2026-ENDORSED"
11      }
12    }
13  ]
14}

This is a sample request to call this invocable action from Apex code.

1// Create the standard Invocable Action for creating an endorsement draft of a brokerage policy
2Invocable.Action action = Invocable.Action.createStandardAction('endorseDraftInsBrokeragePolicy');
3
4// Instantiate the input object
5ConnectApi.EndorseDraftBrokeragePolicyIAInputRep input = new ConnectApi.EndorseDraftBrokeragePolicyIAInputRep();
6
7// Required: Set the Policy ID of the original brokerage policy to endorse
8input.policyId = '0YjXX0000000001';
9
10// Optional: Set endorsement details
11input.endorsementDate = '2026-08-01';
12input.effectiveFromDate = '2026-08-01';
13input.effectiveToDate = '2027-08-01';
14input.policyName = 'Updated Policy Name';
15input.policyNumber = 'POL-2026-ENDORSED';
16
17// Set the invocation parameter and invoke
18action.setInvocationParameter('endorseDraftBrokeragePolicyIAInputRep', input);
19List<Invocable.Action.Result> results = action.invoke();
20
21System.debug('Endorse-Draft Brokerage Policy Invocable Action result = ' + results);

This is the sample response for the Create Endorsement Draft for Insurance Brokerage Policy action.

1[
2  {
3    "actionName": "endorseDraftInsBrokeragePolicy",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outcome": null,
8    "outputValues": {
9      "draftPolicyId": "0YjXX0000000099"
10    },
11    "sortOrder": -1,
12    "version": 1
13  }
14]