This guide walks you through the full lifecycle of a clothing item in the Drssed API. You will learn how to upload a clothing image and get AI-detected metadata back, create a clothing item using that image, list your wardrobe, update item details, and delete items you no longer need. Each step builds on the previous one, so you can follow along end-to-end or jump to the section you need.Documentation Index
Fetch the complete documentation index at: https://docs.drssed.app/llms.txt
Use this file to discover all available pages before exploring further.
The
image_id used when creating a clothing item must come from a prior call to POST /images/preview. You cannot supply an arbitrary image URL or external identifier.Process the clothing image
Before creating a clothing item, upload a photo of it to A successful response returns everything you need to create the clothing item:
POST /images/preview. Drssed removes the background, detects the dominant color, infers the category, and returns suggested seasons and style tags — all automatically.Send the image as multipart/form-data with the field name file.Create the clothing item
Call On success the API returns
POST /users/me/clothing with the image_id from the previous step along with any metadata you want to store.Required fields: name, category, image_id, colorOptional fields: seasons, tags, descriptionValid category values: JACKET, TOP, BOTTOM, FOOTWEARValid seasons values: Spring, Summer, Autumn, WinterValid tags values: Casual, Formal, Sports, Vintage201 Created with the new clothing object:List your clothing
Retrieve your wardrobe with
The response lists matching items alongside your pagination parameters:
GET /users/me/clothing. Use limit and offset for pagination, and the optional category parameter to filter by type.| Query parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 50 | Number of items to return |
offset | integer | 0 | Number of items to skip |
category | string | — | Filter by JACKET, TOP, BOTTOM, or FOOTWEAR |
Update a clothing item
Use A successful update returns
PATCH /clothing/{clothing_id} to update any subset of fields on an existing item. All fields are optional — only the fields you include are changed.Updatable fields: name, category, color, seasons, tags, image_id, description200 OK with the updated item:Rate limits
Most clothing endpoints are limited to 5 requests per minute. If you exceed this limit the API returns429 Too Many Requests. Build a backoff strategy into your client if you expect bursts of requests.