Skip to main content
POST
/
api
/
v1
/
sessions
/
{session_id}
/
upload
/
excel
Upload Excel with multi-sheet and sender profile support
curl --request POST \
  --url https://api.example.com/api/v1/sessions/{session_id}/upload/excel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'sheet_config=<string>' \
  --form has_header=true \
  --form update_sender_data=true
{
  "session_id": "<string>",
  "status": "<string>",
  "leads_queued": 123,
  "sender_data_sources": 123,
  "file_info": {},
  "message": "<string>",
  "dataset_id": "<string>",
  "quota_info": {},
  "job_id": "<string>",
  "estimated_completion_time": 123,
  "processing_status": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.bavlio.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

session_id
string
required

Body

multipart/form-data
file
file
required

Excel file to upload

sheet_config
string
required

JSON string with enhanced sheet configuration

has_header
boolean
default:true

Whether the sheets have header rows

update_sender_data
boolean
default:true

Whether to update session sender data

Response

Successful Response

Enhanced response model for session-based upload with quota information.

session_id
string
required

Session identifier for the upload

status
string
required

Upload status

leads_queued
integer
required

Number of leads queued for processing

sender_data_sources
integer
required

Number of sender data sources identified

file_info
File Info · object
required

Information about the uploaded file

message
string
required

Success message

dataset_id
string | null

Created dataset ID

quota_info
Quota Info · object

Quota status information

job_id
string | null

Background job ID if processing was queued

estimated_completion_time
number | null

Estimated completion timestamp

processing_status
string | null

Status of background processing job