Upload Image
Uploads an image (multipart) for Card Creator and registers it in Cards images.
Request Example
Section titled “Request Example”curl --request POST \ --url 'https://lxp.prod.api.toolzz.media/upload/image' \ --header 'Authorization: Bearer <token>' \ --form 'image=@./cover.png'Response Example
Section titled “Response Example”{ "success": true, "source": "https://assets.example/cards/cover.png", "images_id": 881}Request description
Section titled “Request description”| Parameter | Type | Description | Required |
|---|---|---|---|
image | file | Multipart file field. | Yes |
Authorization | String | Admin JWT. | Yes |
Error responses
Section titled “Error responses”| HTTP | Code | When |
|---|---|---|
| 400 | — | Missing file / invalid MIME or size |
| 401 | unauthenticated | Missing/invalid JWT |
| 403 | permission_denied | Not an admin |
Security
Section titled “Security”- Admin only. Object storage uses
CardsS3*secrets (R2/S3-compatible).