How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Light v1 - Contracts API

The v1 - Contracts API from Light — 10 operation(s) for v1 - contracts.

Light v1 - Contracts API is one of 28 APIs that Light publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include v1 - Contracts. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and rate-limit docs.

This API exposes 14 operations across 10 paths, and defines 16 schemas. It is described by OpenAPI 3.0.1, at version 1.0.0.

Requests are made against the base URL https://api.light.inc.

14 operations 10 paths 16 schemas 2 DELETE2 GET2 PATCH8 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
1.0.0
Base URL
https://api.light.inc
Authentication
API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Light v1 - Contracts API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiKeyAuth). It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

  • apiKeyAuth — Basic authentication header of the form Basic , where is your api key.

Paths & Operations 14

Across 10 paths, the API surfaces 14 operations — 2 DELETE, 2 GET, 2 PATCH, 8 POST. Each is listed below with its method, path, parameters, and response codes.

v1 - Contracts 14
POST
/v1/contracts/{contractId}/cancel-termination
Cancel scheduled termination
cancelContractTermination 1 param → default
GET
/v1/contracts
List contracts
listContracts 5 params → default
POST
/v1/contracts
Create contract
createContract body → default
POST
/v1/contracts/{contractId}/lines
Create contract line
createContractLine 1 param body → default
GET
/v1/contracts/{contractId}
Get contract
getContract 1 param → default
DELETE
/v1/contracts/{contractId}
Delete contract
deleteContract 1 param → default
PATCH
/v1/contracts/{contractId}
Update contract
updateContract 1 param body → default
DELETE
/v1/contracts/{contractId}/lines/{lineId}
Delete contract line
deleteContractLine 2 params → default
PATCH
/v1/contracts/{contractId}/lines/{lineId}
Update contract line
updateContractLine 2 params body → default
POST
/v1/contracts/{contractId}/generate-document-upload-url
Generate document upload URL
generateContractDocumentUploadUrl 1 param body → default
POST
/v1/contracts/{contractId}/publish
Publish contract
publishContract 1 param → default
POST
/v1/contracts/{contractId}/renew
Renew contract
renewContract 1 param body → default
POST
/v1/contracts/{contractId}/reset
Reset contract
resetContract 1 param → default
POST
/v1/contracts/{contractId}/terminate
Terminate contract
terminateContract 1 param body → default

Schemas 16

The contract defines 16 schemas that model the data the API accepts and returns. The most detailed are ExternalContractV1Model (28 properties), ExternalContractLineV1Model (21 properties), ExternalCreateContractRequestV1Model (17 properties), ExternalUpdateContractRequestV1Model (16 properties). Each schema is shown below with its type and property counts.

ExternalAiValueSuggestionV1Model
object
AI-generated suggestions for line item values (e.g. account, cost center, tax code).
3 properties
ExternalTerminateContractRequestV1Model
object
2 properties
ExternalRenewContractRequestV1Model
object
2 properties
ExternalCreateContractLineRequestV1Model
object
15 properties
ExternalCustomPropertyValueV1Model
object
List of values. Note that this will be a single value unless the group input type supports multiple values
9 properties
ExternalContractV1Model
object
28 properties
ExternalContractLineV1Model
object
21 properties
ExternalContractDocumentUploadUrlResponseV1Model
object
3 properties
ExternalContractDocumentUploadRequestV1Model
object
1 property
ExternalPaginatedResponseV1ModelExternalContractV1Model
object
5 properties
ExternalContractLineDiscountV1Model
object
Discount to apply to this line (can be percentage or amount-based)
3 properties
ExternalCreateContractRequestV1Model
object
17 properties
ExternalUpdateContractLineRequestV1Model
object
14 properties
ExternalUpdateContractRequestV1Model
object
16 properties
ExternalSetCustomPropertyRequestV1Model
object
List of custom properties to set on the vendor. Replaces the existing set.
3 properties
ExternalCustomPropertyV1Model
object
Custom properties set on the vendor.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

light-v1-contracts-api-openapi.yml Raw ↑

Other APIs Light publishes across the network.

Light Authorization API
Light v1 - Accounting Documents API
Light v1 - Attachments API
Light v1 - Bank Accounts API
Light v1 - Card Balance Accounts API
Light v1 - Card Customers API
Light v1 - Card Transactions API
Light v1 - Cards API
Light v1 - Companies API
Light v1 - Credit Notes API
Light v1 - Custom Properties API
Light v1 - Customer Credits API
Where this information came from

This is an independent, third-party profile of Light v1 - Contracts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.