Skip to main content
POST
Upload a library image

Autorizaciones

Authorization
string
header
requerido

Personal access token (izap_pat_…) sent as Authorization: Bearer ; dashboard session JWTs are also accepted.

Encabezados

business-id
string | null
requerido

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

Cuerpo

multipart/form-data
file
file
requerido
description
string | null
tags
string | null
title
string | null

Respuesta

Successful Response

Metadata for an image stored in the business library.

Backed by the :class:aizap.models.documents.Document model, filtered to image document types.

business_id
string<uuid> | null
requerido
content_type
string
requerido
created
string<date-time>
requerido
document_type
string
requerido
file_size
integer
requerido
filename
string
requerido
id
string<uuid>
requerido
original_filename
string
requerido
url
string
requerido
description
string | null
tags
string[] | null
title
string | null
uploaded_by_user_id
string<uuid> | null