Finish a file upload
Checks the uploaded file against the upload request and queues it to be read. Returns the new file source. Completing an upload again returns the same source. A file that hasn’t arrived yet is a 409 conflict: send it to upload_url, or start a new upload if upload_url has expired. A file that doesn’t match the request is a 400. A business whose plan has no room for more knowledge text gets a 409 plan_limit_reached. Send to keep the file name as its title.
Authorizations
An API key from Settings > API keys (lsk_...), which acts on its own business, or a platform key from the PLATFORM_API_KEYS setting (lsp_...), which onboards and manages businesses. Scopes: business:read, business:write, calls:read, contacts:read, contacts:write, appointments:read, appointments:write, messages:read, knowledge:read, knowledge:write, webhooks:manage, billing:manage, phone_numbers:manage, team:manage, businesses:create, users:create. Only platform keys can hold businesses:create and users:create.
Headers
The business a platform key acts on. Required with a platform key. A per-business key may leave it out; if it sends one, it must be the key's own business.
Path Parameters
The upload id.
Body
Response
Accepted
A website, page or file the receptionist learns from.