✨ Join our new Affiliate Program!

🔌 API Reference

💡 Discover Dotb's Vinted API

Dotb provides a public REST API so you can automate your Dotb workflows directly from your own scripts and tools.

The API is available on the Boutique AI plan.

What you can do

Most of the API works with your data on Dotb. A few calls act on Vinted itself, through your browser extension or through Dotb Desktop: see Calls that act on Vinted.

  • Create listings on Dotb — build your listings through the API, then publish them to Vinted with the browser extension.
  • Schedule publishes — schedule listings created on Dotb and not yet on Vinted (with at least one photo) to publish to Vinted at chosen times with POST /items/schedule (up to 250 per call). The browser extension performs each publish, so it must be running (browser open, extension active) both when you schedule and when the publish runs; once queued, a schedule waits and is retried when the extension comes back.
  • Access your Vinted orders — read the orders that Dotb has synced from your Vinted account.
  • Look up your customers — list the buyers from your synced orders, with their order count and total spent, and filter orders by customer.
  • Get notified with webhooks — register up to 3 HTTPS endpoints to receive events (new order, order status change, claim opened, publish succeeded or failed, new notification, a Dotb Desktop job finished: job.finished) as signed POST requests following the Standard Webhooks scheme. Manage them from Settings → API tokens or through the API. Prefer polling? The GET /events feed returns the same events (kept 7 days).
  • Handle your Vinted conversations — read conversations and messages, send messages and make or answer offers. These calls act on Vinted directly through your browser extension, so it must be online (browser open, extension active) for that Vinted account; otherwise the API answers 503 right away and nothing is queued. For an account on Dotb Desktop, the same calls are job-* routes that answer with a job.
  • Read your notifications — list the same notifications as the dashboard bell (orders, Smart agent, captchas, Vinted, Dotb), filter by group, Vinted account or unread, get unread counts, and mark them read or unread (GET /notifications, /notifications/counts, /notifications/{id}, POST /notifications/{id}/read, /unread, /notifications/read-all). Titles and bodies come in your language, or pass locale. Webhooks deliver each new one as notification.created.
  • See and delete your live items — list what is on your Vinted account right now (every listing, draft and sold item, GET /accounts/{account_id}/live-items) and delete listings, optionally with their Dotb item. Live items are the short version Vinted shows in the wardrobe; your Dotb items hold the full data.
  • Follow your live orders and answer claims — read a Vinted order as it is on Vinted right now (GET /accounts/{account_id}/live-orders/{transaction_id}, using the transaction_id of a conversation or the vinted_transaction_id of an order), see the buyer's claim and answer it: full refund, partial refund offer or return. Your Dotb orders (/orders) are the synced copy.

Calls that act on Vinted

Most of the API is your data on Dotb and works at any time. The calls that act on Vinted itself come in two families, one for each way a Vinted account reaches Vinted. GET /accounts tells you which one applies: channel is "bridge" or "desktop" for each account.

live-* routes job-* routes
How direct Vinted calls through the bridge of the Dotb browser extension real clicks and typing in the browser of Dotb Desktop, the Dotb app that works on Vinted for you
For accounts with channel: "bridge" accounts with channel: "desktop"
Answer synchronous: the result is in the response asynchronous: 202 with a job, the result later

Each account uses one family only. A live-* call on an account on Dotb Desktop answers 409 with details.reason: ["on_desktop"] and, when the call has a twin, details.job_route: the job-* route to call instead. A job-* call on a bridge account answers 409 with details.reason: ["not_on_desktop"].

Live calls, through the bridge

Live means read and changed on Vinted right now. These calls, and a few others, go through the bridge of the Dotb browser extension. Your browser must be open, with the extension active and the bridge enabled for that Vinted account:

  • Live items — listing and deleting them (/accounts/{account_id}/live-items).
  • Live orders and their claims — every /accounts/{account_id}/live-orders/… call.
  • Live conversations — every /accounts/{account_id}/live-conversations/… call. Uploading a photo for a message (POST /conversation-photos) doesn't need it.
  • Shipping labels — POST /orders/{id}/shipping-label.
  • Scheduled publishes — the bridge must be on when you schedule. The publish itself waits for the extension if it goes offline later.

When the bridge is off, these calls fail right away and nothing is queued (apart from scheduled publishes already accepted): the live calls answer 503 with details.reason: ["extension_offline"] and Retry-After: 60. To check first, GET /accounts returns bridge.connected for each Vinted account.

🔌 How to enable the bridge

Job calls, on Dotb Desktop

For an account on Dotb Desktop, Dotb clicks and types in a real browser at a human pace, so a call doesn't wait for Vinted: it queues a job and answers 202 with it, or 200 with an existing one (a repeated Idempotency-Key, or the same read already running). A job takes minutes rather than seconds. In GET /accounts, desktop.connected says whether the app is connected to Vinted for that account right now.

  • Conversations — GET /accounts/{account_id}/job-conversations and …/job-conversations/{conversation_id}; POST …/{conversation_id}/messages (text only), …/offers, …/offer-requests/{offer_request_id}/accept and …/decline (the last three take the order's transaction_id in the body).
  • Orders — GET /accounts/{account_id}/job-orders/{transaction_id}, for an order Dotb has already synced (otherwise 404 with details.reason: ["order_not_synced"]).
  • Items — GET /accounts/{account_id}/job-items (the whole wardrobe in one result, no pages) and DELETE …/job-items/{vinted_item_id} (kind=item, the default, or kind=draft).
  • Scheduled publishes — Dotb Desktop performs them. You can schedule even while the app is offline: each publish waits for it.

How a job works:

  • The job — an id, a type, the account_id, a state (queued, running, then done, failed, expired or cancelled), its times, the result once done, an outcome for a write, and an error (code, message) when it did not succeed. Jobs are kept 7 days.
  • The result — read it with GET /jobs/{job_id}, which needs the read scope of the job's family (live_conversations_read for conversations and orders, live_items_read for items). Or subscribe to the job.finished webhook (scope accounts_read): it is sent when a job ends and carries the job without its result, which you then read with GET /jobs/{job_id}.
  • Writes — for a write, check outcome (sent, not_sent or unknown): unknown means it may have been sent — do not resend it with a new key. sent means Dotb did it and Vinted answered, not that Vinted took it: result.status says that. A message went when it is sent or already_sent (refused, rate_limited or terms_outdated: it did not); an offer, an accept or a decline when it is done or already_done (refused, not_actionable or out_of_bounds: it did not); a delete when deleted is true (already when the listing was already gone; deleted: false with reason: "not_deletable" when it cannot be deleted, such as a pending order). An expired job (not started in time: Dotb Desktop was offline or busy) or a cancelled one never ran (outcome: "not_sent") and may be retried with a new key.
  • Idempotency-Key — every POST and DELETE needs this header, with a value you choose. The same key again on the same account for the same kind of call keeps answering 200 with the first job, whatever its state, instead of queuing a new one, so a retried request never sends a message twice.
  • Dotb Desktop offline — when the app is not connected for the account, the call answers 503 with details.reason: ["desktop_offline"] (["desktop_sleeping"] while the profile sleeps) and Retry-After: 60, and nothing is queued.
  • Limits — at most 20 unfinished jobs per account (429 with details.reason: ["too_many_jobs"] and Retry-After: 60). The job-* routes share 10 requests per minute per account, a repeated Idempotency-Key included (429 with details.reason: ["rate_limited"] and Retry-After, in seconds); GET /jobs/{job_id} is not counted.
  • Don't poll hard — prefer the job.finished webhook to polling, and poll GET /jobs/{job_id} no more than every few seconds. A read job already running is joined, so repeating it gains nothing.
  • No job yet — claims, photos in messages and marking a conversation as read have no job-* route yet: their live routes answer 409 without details.job_route. Neither do shipping labels: POST /orders/{id}/shipping-label answers 409, as Dotb Desktop orders labels itself in its order flows.

Interactive documentation

The full API reference is public and interactive. You can browse every endpoint, inspect request and response schemas, and try calls right from your browser.

📖 Open the interactive API reference

Authentication

Every request is authenticated with a personal API token, sent as a Bearer token in the Authorization header. A Boutique AI subscription is required.

Create and manage your tokens from your API tokens settings. Treat them like passwords — anyone with a token can act on your behalf.

Base URL

https://dotb.io/api/public/v1

For AI tools and code generators

A machine-readable summary of the API is available at /api/public/v1/llms.txt, and the raw OpenAPI specification at /api/public/v1/openapi.json.