v1

latestOpenAPI 3.1.02026-07-2489171167.4 KB
License Manager Public

Create Multiple Contracts

Create multiple contracts in a single request, supporting up to 1,000 contracts at a time. The response returns the new contract IDs in the same order you sent them. To ensure consistency, contracts are created as a single unit. If one fails, the entire request is rolled back.

post/license-manager/contracts/bulk

Request body

dateFormat'MM/DD/YYYY' | 'DD/MM/YYYY' | 'YYYY-MM-DD' required

The date format used for all date values (startDate, endDate) in this request. All contracts in a single request must use the same format.

Example request

{
  "dateFormat": "MM/DD/YYYY",
  "contracts": [
    {
      "name": "Slack Enterprise Annual",
      "application": "Slack",
      "status": "active",
      "type": "saas",
      "category": "developer-tools",
      "startDate": "01/15/2026",
      "endDate": "01/15/2027",
      "paymentTerm": "annual",
      "contractValue": 12000,
      "currency": "USD",
      "licensesCount": 50,
      "autoRenewal": true,
      "cancellationNotice": 30,
      "owner": "jane@example.com",
      "notes": "Imported via bulk"
    }
  ]
}

Response

Contracts are successfully created.

idsstring[] required

The unique identifiers of the newly created contracts (CUID format), in the same order as the input.

Example response

{
  "ids": [
    "cm1a2b3c4d5e6f7g8h9i0j1k",
    "cm2b3c4d5e6f7g8h9i0j1k2l"
  ]
}