Skip to main content
POST
/
customers
/
policies
/
{policyId}
Create a customer on an existing policy
curl --request POST \
  --url https://api.example.com/customers/policies/{policyId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "role": "<string>",
  "customFields": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}
'
{
  "customerId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.korint.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

policyId
string
required

The policy id to attach the new customer to

Query Parameters

whenAt
string

Optional: the whenAt datetime

branchId
string

Optional: the branchId

Body

application/json
role
string
required

The role of the customer on the policy

customFields
object[]

Custom fields for the customer

Response

customerId
string
required

The created customer id