1. Company
Premiums API
  • Seance
    • Execute a seance.
      POST
    • Update a seance.
      PATCH
    • Cancels a seance.
      POST
    • Simulate Close a seance period.
      POST
  • Company
    • Update company information.
      PATCH
    • Bulk Imports companies.
      POST
    • Imports companies.
      PUT
  • Trainee
    • Imports Trainee.
      PUT
    • Bulk Imports Trainee.
      POST
  • Schemas
    • Schemas
      • SeancePeriodClosed
    • Response
      • Success
      • SimulateResponse
      • SeanceCancelSuccess
      • CompanyResponse
      • SeanceConfirmSuccess
      • UnauthorizedError
      • SeancePaidConfirmSuccess
      • BadRequestError
      • SeancePeriodClosedSuccess
      • BadRequestWithMessagesError
      • NotFoundError
      • CompanyUpdateSuccess
      • InternalError
      • BadRequestWithSeanceCancelMessagesError
      • BadRequestWithSessionInformationError
      • BadRequestWithSeanceConfirmMessagesError
      • TooManyRequestsMessagesError
      • BadRequestWithSeancePaidConfirmMessagesError
      • BadRequestWithSeancePeriodClosedMessagesError
      • BadRequestWithCompanyUpdateMessagesError
    • Seance
    • CompanyUpdate
    • CompanyImportCsvFormat
    • SeanceUpdate
    • TraineeImportCsvFormat
    • SeanceSimulatePeriodClosed
  1. Company

Imports companies.

PUT
/v2/company/import
Imports a list of companies from a file. Requires premiums:write scope.

Request

Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: /oauth2/token
Scopes:
premiums:write-Allow write operations to take place modifying existing data
or
Body Params application/csvRequired

Examples

Responses

🟢200Success
application/json
The request succeeded. The request does not provide any data in the response
Body

🟠400BadRequestWithMessagesError
🟠401UnauthorizedError
🔴500InternalError
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://premiums-api-staging.anopio.com/v2/company/import' \
--header 'Content-Type: application/csv' \
--data-raw '"COMPANY_UID,WORKER_COUNT,STATUS,COMPANY_PC,COMPANY_PREMIUM_CLASS,DATE_START,INITIAL_CREDIT,INITIAL_COLLECTIVE_RIGHTS_BALANCE_HOURS\n2002,5,ACTIVE,CP149.04,B,2025-01-01,1689.00,200\n"'
Response Response Example
200 - Example 1
{
    "status": 200
}
Modified at 2026-02-16 13:03:34
Previous
Bulk Imports companies.
Next
Imports Trainee.
Built with