business-library

Upload a library document

Uploads a document or video to the library of the authenticated user's business so it can later be attached to messages. PDF, DOCX and MP4 are accepted; the type is read from the file's content, not its name.

post/api/v1/businesses/library/documents

Request

  • Base URL: https://api.izap.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.izap.ai/api/v1/businesses/library/documents
  • Auth: HTTP bearer

Headers

business-idstring nullable required

Business UUID whose library is targeted. Required when the user has more than one business.

Response

Successful Response

idstring uuid required
business_idstring uuid nullable required
filenamestring required
original_filenamestring required
content_typestring required
document_typestring required
file_sizeinteger required
urlstring required
titlestring nullable
descriptionstring nullable
tagsstring[] nullable
uploaded_by_user_idstring uuid nullable
createdstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.