Skip to main content
cURL
Cost: 1 API credit per write.
Needs the seller’s Chrome open somewhere, with the Alura extension and signed in to Etsy for this shop. The script or agent can run on another computer. An offline extension answers extension_offline; the live status can name a more specific connection problem. Errors cost no API credits. See Chrome extension.
Needs the messages:write scope and the Customer analytics workspace permission. If sending is turned off for the workspace, it answers 403 send_not_enabled, and nothing is read or sent. Save a draft for the seller instead.
A message can’t be taken back. The buyer gets it as soon as Etsy takes it.

Send your text or a draft

Send one of the two, never both. Idempotency-Key is required.

Nothing goes out on an old conversation

Alura reads the conversation on Etsy first. Another shop’s conversation, or one Etsy doesn’t know, answers 404. If a newer message from the buyer or the shop arrived after source_message_id, or after the message a draft answers, the call answers 409 conversation_changed and sends nothing. Alura checks again right before it sends. Read the conversation again and answer its newest message. A draft the seller is sending from Alura answers 409 draft_sending. One already sent answers 409 draft_sent.

The answer

After sending, Alura reads the conversation back from Etsy:
  • 200 with outcome: sent once Etsy shows the message.
  • 202 with the change, outcome: unknown, when Etsy doesn’t show it yet, or its answer was lost. The message may have reached the buyer, so check the conversation on Etsy. Alura never sends it again: a retry with the same Idempotency-Key answers that change.
A refusal before the message left, such as the Alura extension being offline, answers its error and sends nothing.

What it needs

Chrome open with the Alura extension, logged into the shop on Etsy. extension_offline, etsy_not_logged_in or etsy_shop_mismatch say which is missing. A shop takes 20 Etsy writes a minute and 500 a day: over that, 429 live_rate_limited. Over MCP (send_my_message), every call waits for the seller’s approval. It is charged only once Etsy shows the message: a refusal or an unknown outcome costs nothing, and dry_run=true reads the conversation and shows the exact message for free.

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 conversation ID.

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

"1900000002"

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
shop_id
string

The Etsy shop ID of one of the workspace's connected shops; optional when the workspace has one.

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

The message, 1-5000 characters; line breaks are kept. Send body or draft_id, not both. With attachments it may be empty or left out.

draft_id
string<uuid>

A pending draft of this conversation (from its drafts list): Alura sends the draft's text and marks it used. Send body or draft_id, not both.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
source_message_id
string

With body: the newest message you read in the conversation. When a newer one arrived since, nothing is sent (409 conversation_changed). A draft carries its own (its source_message_id).

Pattern: ^[1-9][0-9]{0,19}$
attachments
object[]

Files to send with the message, up to 3 (Etsy's limit), each uploaded first (POST /v1/workspace/conversations/attachments) for this shop, within 24 hours, and not yet sent. With body, or alone; not with draft_id. A successful send uses them up, and so does one whose outcome is unknown. Only where message attachments are enabled for the workspace: elsewhere 403 attachments_not_enabled.

Required array length: 1 - 3 elements

Response

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

object
string
required
Allowed value: "workspace.message_send"
conversation_id
string
required

The Etsy conversation ID.

shop_id
string
required

The Etsy shop ID, as a string.

draft_id
string | null
required

The draft sent (now used); null for a message sent from body.

outcome
string
required

sent: Etsy took the message and the conversation, read back from Etsy, shows it. Anything less is the 202 answer with the change, outcome: unknown: the message may have reached the buyer, so check the conversation on Etsy; it is never sent again.

Allowed value: "sent"
change
object
required

The write's change.