Skip to main content
POST
https://api.bizzy.ai
/
v1
/
agents
/
import-queue
/
{sessionId}
/
complete
Complete Import Queue
curl --request POST \
  --url https://api.bizzy.ai/v1/agents/import-queue/{sessionId}/complete \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}
Mark an import queue session as complete and trigger the processing of all companies added to the session. Once completed, no additional companies can be added to this session.

Request

Path Parameters

sessionId
string
required
The session ID of the import queue to complete

Response

{
  "success": true
}
success
boolean
Whether the session was successfully marked as complete

Workflow

After completing a session:
  1. The session status changes from PENDING to PROCESSING
  2. All existing companies from previous API imports are removed
  3. Bizzy begins matching and enriching the companies you added
  4. Matched companies are imported into your agent
  5. The session status updates to COMPLETED when finished
Full Replacement: Completing a new import queue will remove all companies that were imported via previous API sessions. This is a complete replacement, not an append operation. If you need to retain previously imported companies, include them in your new import session.

Notes

  • The session must be in PENDING status to be completed
  • Once completed, you cannot add more companies to this session
  • If you need to import more companies, start a new session
  • You can check the session status using the import queue list endpoint