Skip to main content
cURL
Cost: 1 API credit per write.
Uploads to the live listing on Etsy. Needs the listings:write scope and the Listing optimization workspace permission. Send dry_run=true to see what would be sent without sending it.
Videos can’t be reverted (not_revertable_reason: "images"). Remove an unwanted one with Remove video.

Always send an Idempotency-Key

An add without Idempotency-Key answers 400 invalid_request. Etsy keeps every copy of an upload, so a retry must reuse the key: it then answers the first write instead of uploading again. See Idempotency.

The video

Alura fetches the URL: https, a public address, a host name of at most 128 characters (letters, digits, ., - and _), no redirects, at most 100 MB. Etsy takes 5 to 15 seconds to process it and trims longer videos. A listing has at most 2 active videos. A third answers 400, and nothing is sent. Etsy shows videos in the order they were added, so the new one goes after any video already there. To show it first, use Feature video.

The answer

The answer is 202 with the write’s change, outcome: "applying". Poll Get change at Location. A retry under the same key, once the write has finished, answers what landed: added has the new video’s ID.
The add is planned on the active videos in Alura’s copy. If Etsy has an active video Alura’s copy doesn’t, Etsy is not written and the write is refused naming videos.video_state_changed. A video you haven’t seen is never pushed out.
Another write to the listing still running answers 409 listing_busy: retry after Retry-After.
Credits and limits says when a write is charged.

Authorizations

Authorization
string
header
required

An API key: Authorization: Bearer alura_sk_....

Headers

Idempotency-Key
string

Makes a retry safe: the same key with the same request within 24 hours answers from the first write (with Idempotent-Replayed: true) and never writes to Etsy twice; a write that failed with nothing written (Retry-After set) is tried again under it. The same key with a different request is a 409 conflict; while the first request still runs, 409 idempotency_processing (or the same 202). Required for relative changes such as adjust_price, and to add a listing file, image or video, or to change the alt text of an image (each uploads to Etsy, so a blind retry would upload again); a dry_run=true needs none.

Required string length: 1 - 255

Path Parameters

id
string
required

The Etsy listing ID. A listing outside the workspace is 404.

Pattern: ^[0-9]{1,20}$
Example:

"1834720561"

Query Parameters

dry_run
boolean

true: plan the write and send nothing: what it would change, the Etsy calls it would make, and nothing reserved, charged or recorded. Free; counts toward the per-minute write limit.

Body

application/json
url
string
required

An https URL of the video Alura fetches (a public address, no redirects, at most 100 MB; its host name at most 128 characters: letters, digits, ., - and _).

Maximum string length: 2048

Response

OK: the write landed on Etsy (or, with dry_run=true, what it would do).

object
string
required
Allowed value: "workspace.listing_videos"
listing_id
string
required

Etsy ID, as a string.

shop_id
string
required

Etsy ID, as a string.

added
string[]
required

Etsy's IDs of the videos added.

Etsy ID, as a string.

removed
string[]
required

The videos removed.

Etsy ID, as a string.

After choosing the featured video: Etsy shows videos in the order they were added and has no reorder, so Alura moved the video ahead of the chosen one behind it (off the listing and back on). Null otherwise.

as_of
string
required

When Etsy answered the write.

change
object
required

The write: its change ID and what landed.

notices
object[]
required

What the answer leaves out and why; empty when nothing is.