Energy supply contracts are used to associate a site with our tariff repository. This data allows us to link a price grid to the site to value its energy consumption.
The contracts initialization for a site should occur after the site subscription. If a client then changes its contract, we also need to collect this information in order to provide accurate services.
Contracts Collection Process
Depending on the processing volumes and the operating mode of our clients, two types of collection processes to add or modify contracts are offered via API: mass collection and unitary collection.
These collections manage both electricity and gas contracts.
Unitary Collection via API
For catch-up purposes or small contracts volumetry, unitary contracts collection is avaliable via the following endpoint : POST /contracts
This method allows you to send all contracts of a single site.
Mass Collection via API
This method enables bulk collection of contracts of multiple sites by sending JSON files transmitted in a compressed archive in tar.gz format. The archive must contain between 1 and 10 JSON files and its size cannot exceed 5 MB.
Once an archive has been sent, it is possible to track its processing through a dedicated service.
The bulk method includes three endpoints :
POST /contracts-jobs: Allows you to submit a contracts archive for processing
GET /contracts-jobs/{job-id}: Allows you to monitor the processing of an archive through its statuses and the detailed report containing the OK/KO operations
GET /contracts-jobs: Returns a list of jobs between two dates, with their statuses and an overview of the OK/KO operations
Example of a JSON file
Last modified on October 9, 2026