Skip to main content
POST
Create contract
API v2 is in beta. Endpoints return the X-Lago-Endpoint-Status: beta header.
A Contract requires a contract_code. Use it with the Contract’s external_id to retrieve that specific Contract, including after it ends.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request payload

Create contract.

contract
object
required

Response

Successful response

contract response.

contract
object
required

Contract.