Skip to content

Add a customer commitment

POST
/v1/customer-commitments
curl --request POST \
--url https://api.varman.io/v1/customer-commitments \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "customerId": "cus_abc123", "type": "contract_clause", "title": "Notify security incidents within 72 hours", "description": {}, "dueDate": "2026-12-31T00:00:00.000Z", "status": "open", "ownerMemberId": "mem_abc123", "controlId": "ctl_abc123", "policyId": "pol_abc123" }'

Records a commitment made to a customer with type, due date, status, owner and an optional linked control or policy. Status defaults to open.

X-Organization-Id
string
Media typeapplication/json
object
customerId
required

Customer the commitment was made to

string

Example

cus_abc123
type

Kind of commitment

string
Allowed values: contract_clause sla certification questionnaire_answer dpa other
title
required

Short title

string

Example

Notify security incidents within 72 hours
description

Details or contract wording

object
dueDate

ISO 8601 due date (null clears it)

object

Example

2026-12-31T00:00:00.000Z
status

Current status

string
Allowed values: open in_progress met at_risk waived
ownerMemberId

Member ID of the owner

object

Example

mem_abc123
controlId

Control that satisfies it

object

Example

ctl_abc123
policyId

Policy that covers it

object

Example

pol_abc123