Navigation
VigilbaseDocs

    Type at least two letters.

    Open Vigilbase One

    List contracts

    Contracts the customer owns or that its partner linked to it, newest first. Amounts are null without billing access.

    Deprecated aliases: GET https://one.vigilbase.com/api/customers/{id}/contracts. They answer with the same bodies, with a Deprecation header and a successor-version link to this URL.

    GET/customers/{customerId}/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. Scope: one:api.

    AuthorizationstringAPI keyheaderrequired

    Organisation API key (vb_one_…) from Settings → API keys in Vigilbase One, sent as Authorization: Bearer vb_one_…. Read-only keys work. See organisation API keys.

    AuthorizationstringMCP tokenheaderrequired

    Vigilbase Identity access token issued to an MCP client (mcp.vigilbase.com). Scope: one:read.

    Permissions checkedread:contracts

    Path Parameters

    customerIdstringuuidrequired

    Query Parameters

    A cursor-paginated list: the response holds items, and while it has a nextCursor, pass it as cursor for the next page. See pagination.

    cursorstring

    The nextCursor of the previous page. Leave it out for the first page.

    max length 512
    limitinteger

    How many items to return per page.

    Default:50maximum 200
    statusstring
    One of:draftpendingactiveexpiredterminated
    expiringWithinDaysinteger

    Only contracts expiring between today and this many days ahead.

    minimum 0maximum 3650

    Response

    application/json

    Success

    itemsobject[]required
    20 child attributes
    idstringuuidrequired
    referencestring | nullrequired

    The human contract number, e.g. C-1001.

    namestringrequired
    descriptionstring | nullrequired
    statusstring | nullrequired
    isLinkedbooleanrequired

    Owned by the partner and linked to this customer: a summary only.

    effectiveDatestring | nullrequired
    expirationDatestring | nullrequired
    signedDatestring | nullrequired
    autoRenewalboolean | nullrequired
    renewalNoticeDaysanyrequired
    billingFrequencystring | nullrequired
    totalValuenumber | nullrequired

    Amount in major units; null when hidden from the caller (no billing access) or not set.

    currencystring | nullrequired
    notesstring | nullrequired

    Vigilbase’s notes on the contract; null for callers outside Vigilbase.

    agreementUrlstring | nullrequired

    The signed agreement (Common Paper), an https link; null for callers outside Vigilbase.

    lineItemsobject[]required
    14 child attributes
    idstringuuidrequired
    namestring | nullrequired
    descriptionstring | nullrequired
    serviceIdanyrequired
    quantitynumber | nullrequired
    unitPricenumber | nullrequired

    Amount in major units; null when hidden from the caller (no billing access) or not set.

    totalPricenumber | nullrequired

    Amount in major units; null when hidden from the caller (no billing access) or not set.

    includedQuantitynumber | nullrequired
    overageRatenumber | nullrequired

    Amount in major units; null when hidden from the caller (no billing access) or not set.

    quantityLimitnumber | nullrequired
    quantityUnitstring | nullrequired
    bandwidthLimitTbnumber | nullrequired
    requestsLimitMillionsnumber | nullrequired
    isActivebooleanrequired
    invoicesobject[]required
    10 child attributes
    idstringuuidrequired
    stripeInvoiceIdstring | nullrequired
    invoiceNumberstring | nullrequired
    amountDuenumber | nullrequired

    Amount in major units; null when hidden from the caller (no billing access) or not set.

    amountPaidnumber | nullrequired

    Amount in major units; null when hidden from the caller (no billing access) or not set.

    currencystring | nullrequired
    statusstring | nullrequired
    invoiceDatestring | nullrequired
    dueDatestring | nullrequired
    paidAtanyrequired
    createdAtanyrequired
    updatedAtanyrequired
    nextCursorstring
    2 response headers
    X-Request-Idstring

    The request ID: yours when it was well-formed, otherwise a new one. Quote it to support.

    API-Versionstring

    The major API version (informational; the version is in the path).

    More about this endpoint in the guide.

    Was this page helpful?