Navigation
VigilbaseDocs

    Type at least two letters.

    Open Vigilbase One

    Create a customer contract

    POST /api/customers/{id}/contracts on the Vigilbase One API.

    POST/api/customers/{id}/contracts

    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.

    Permissions checkedwrite:contracts

    Path Parameters

    idstringrequired

    Body

    application/json
    namestringrequired
    min length 1
    descriptionstring | null
    statusstringrequired
    One of:draftpendingactiveexpiredterminated
    effective_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 3
    billing_frequencyany
    auto_renewalboolean
    Default:false
    renewal_notice_daysinteger
    Default:30minimum 0maximum 9007199254740991
    notesstring | null
    metadataobject
    linked_customer_idany
    renews_contract_idany
    created_bystring | null

    Response

    Success

    Was this page helpful?