---
schema_version: "1"
id: 2c8e3ddfb16d4f61b08d3a693f731dee9c94ef03813f96282bf7129df497473a
title: Create Policy Limits Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/actions_obj_create_policy_limits.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_create_policy_limits.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9d339369f49679a2f1d2cdc276290691748bc1a9982111af5f729a684e5f73d6
description: Create insurance policy limit records for policy coverage and root attributes.
---
# Create Policy Limits Action

Create insurance policy limit records for policy coverage and root attributes.

This action is available in API version 65.0 and later.

## Supported REST HTTP Methods

**URI**: /services/data/vXX.X/actions/standard/createPolicyLimits

Where XX.X is the latest API version.

**Formats**: JSON

**HTTP Methods**: POST

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

## Inputs

| Input | Type | Description |
| --- | --- | --- |
| createPolicyLimitsInputRep | Apex-defined | Required. An Apex [ConnectApi.CreatePolicyLimitsInputRep](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_create_policy_limits_input_re.htm "Input representation for the apex ConnectApi.CreatePolicyLimitsInputRep record that contains the details of the policy limits to be created.") record that contains the details to create the policy limits. |

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| createPolicyLimitsOutputRep | Apex-defined | An Apex ConnectApi.CreatePolicyLimitsOutputRep record that contains the IDs for the insurance policy limit records that are created. |

## Example

Sample Request

{
  "inputs": \[
    {
      "createPolicyLimitsInputRep": {
        "attributeScopes": \[
          "Policy",
          "PolicyCoverage"
        \],
        "policyId": "0YTx0000000001qEAA"
      }
    }
  \]
}

Sample Response

\[
  {
    "actionName": "createPolicyLimits",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
      "createPolicyLimitsOutputRep": {
        "policyLimitIds": \[
          "1plS70000004q2kIAA"
        \]
      }
    },
    "sortOrder": -1,
    "version": 1
  }
\]