Vigilbase One APICustomers
Create a customer contract
POST /api/customers/{id}/contracts on the Vigilbase One API.
Authorizations
Send one of these:
AuthorizationstringAccess tokenheaderrequired
Bearer access token from Vigilbase Identity (auth.vigilbase.com), sent as Authorization: Bearer <token>. The CLI gets one with vigilbase login.
AuthorizationstringAPI keyheaderrequired
Organisation API key (vb_one_…) from Settings → API keys in Vigilbase One, sent as Authorization: Bearer vb_one_…. Needs a key with write access: read-only keys get 403 with the code read_only_key. See organisation API keys.
Path Parameters
idstringrequired
Body
application/jsonnamestringrequired
min length 1
descriptionstring | null
statusstringrequired
One of:
draftpendingactiveexpiredterminatedeffective_dateany
expiration_dateany
signed_dateany
hubspot_deal_idstring | null
stripe_subscription_idstring | null
commonpaper_agreement_idstring | null
commonpaper_urlany
total_valuenumber | null
currencystring
Default:
"USD"min length 3max length 3billing_frequencyany
auto_renewalboolean
Default:
falserenewal_notice_daysinteger
Default:
30minimum 0maximum 9007199254740991notesstring | null
metadataobject
linked_customer_idany
renews_contract_idany
created_bystring | null
Response
Success
Was this page helpful?