Skip to main content
POST
/
api
/
management
/
spreadsheet-operations
/
import
/
{type}
Importar planilha
curl --request POST \
  --url https://api.olie.ai/api/management/spreadsheet-operations/import/{type} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "response": true,
  "spreadsheet_operation": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "action": "export",
    "type": "project",
    "status": "completed",
    "total_rows": 120,
    "processed_rows": 120,
    "percentage": 100,
    "errors_count": 0,
    "metadata": {},
    "file_name": "project_2026-06-01-143022.xlsx",
    "initiator_type": "App\\Models\\User",
    "initiator_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "initiator": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "avatar_url": "<string>"
    },
    "started_at": "2023-11-07T05:31:56Z",
    "completed_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

type
enum<string>
required

Tipo de operação (domínio alvo). Atualmente: project.

Available options:
project

Body

multipart/form-data
file
file
required

Arquivo XLSX (até 50MB).

Response

Operação de import criada com sucesso

response
boolean
Example:

true

spreadsheet_operation
object