Skip to Content
The Makinari API repo now includes an MCP Server — connect your AI models directly. View on GitHub →

Sites & Uploads

Endpoints

Get Sites

GET /api/visitors/sites

Retrieves all sites or a specific site by ID.

Query Parameters:

  • id (string, UUID, optional): The ID of the site to retrieve.

Create Site

POST /api/visitors/sites

Creates a new site for tracking.

Request Body:

  • name (string, required): The name of the site.
  • domain (string, optional): The domain of the site.

Upload Files

POST /api/visitors/upload

Uploads files associated with visitors or conversations.

Request Body (FormData):

  • site_id (string, UUID, required): The ID of the site.
  • visitor_id (string, UUID, optional): The visitor ID.
  • file (File, required): The file(s) to upload.
  • type (string, optional): File type or category.
Last updated on