Skip to main content
cURL
Cost: Free.
Works while the extension is offline: this call uses only what Alura stores. See Chrome extension.
Needs the messages:write scope and the Customer analytics workspace permission. Dismissing it again returns the draft unchanged.

When it is refused

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 returns the first result (with Idempotent-Replayed: true) instead of writing again. The same key with a different request is a 409 conflict; while the first request still runs, 409 idempotency_processing.

Required string length: 1 - 255

Path Parameters

id
string
required

The Etsy conversation ID.

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

"1900000002"

draft_id
string<uuid>
required

The draft ID.

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)$
Example:

"0b9f3c1e-7a52-4d6e-9c1a-2f4b8e6d1a01"

Query Parameters

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}$
Example:

"22841907"

Response

OK

object
string
required
Allowed value: "workspace.message_draft"
id
string
required

The draft ID.

conversation_id
string
required

The Etsy conversation ID.

shop_id
string
required

The Etsy shop ID, as a string.

status
enum<string>
required

pending: waiting for the seller to review and send it; used: the seller sent it; dismissed: dismissed, or replaced by a newer draft; stale: someone (the buyer or the shop) wrote after the message it answers, or its send claim expired.

Available options:
pending,
used,
dismissed,
stale
body
string
required

The reply text the seller reviews before sending.

language
string | null
required

The language the draft is written in, as given when it was created; null when none was given.

author
object
required

Who wrote the draft through the API.

guide_ids
string[]
required

The guidance entries the draft follows.

article_ids
string[]
required

The articles the draft draws on.

source_message_id
string
required

The newest message from the buyer or the shop when the draft was written.

created_at
string
required

ISO 8601, UTC.

updated_at
string
required

ISO 8601, UTC.