Premiums API
  1. Company
Premiums API
  • Seance
    • Execute a seance.
      POST
    • Cancels a seance.
      POST
    • Update a seance.
      PATCH
  • 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
  1. Company

Bulk Imports companies.

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

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Body Params multipart/form-data

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 -g --request POST 'https://premiums-api-staging.anopio.com/v2/company/bulk-import' \
--header 'Authorization: Bearer <token>' \
--form 'file=@"C:\\Users\\serge\\Desktop\\EDUCAM\\PREMIUMS\\data processing\\companies_import.csv"'
Response Response Example
200 - Example 1
{
    "status": 200
}
Modified at 2025-12-19 14:04:59
Previous
Update company information.
Next
Imports companies.
Built with