Skip to main content
cURL
Cost: Free.
Reads the conversation from Etsy only when Alura has no copy of it. With the extension offline, that read answers extension_offline and nothing is saved. A new handoff also asks the extension to mark the conversation unread on Etsy. The handoff stands even if that fails. See Chrome extension.
Needs the messages:write scope and the Customer analytics workspace permission. Send Idempotency-Key to retry safely.

What a handoff does

  • Marks the conversation high priority. An urgent one stays urgent.
  • Opens it again if it was closed or snoozed.
  • Shows the seller reason (1 to 500 characters) and who handed it off, until the seller replies or closes it.
The conversation must be this shop’s. Alura checks its own copy, else a live read proves it. Another shop’s, or one Etsy doesn’t know, answers 404, and nothing is saved.

What happens on Etsy

The attempt can be refused, for example when Etsy access is paused or the extension is offline. Its outcome is not in this answer, and a retry with the same Idempotency-Key never tries again. While a handoff stands, another is recorded too, because Alura may not have seen the seller’s latest reply on Etsy yet.

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: ^[1-9][0-9]{0,14}$
Example:

"1900000002"

Body

application/json
reason
string
required

Why the seller should handle this conversation, 1-500 characters. The seller sees it in Alura, marked as the agent's words.

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

Response

OK

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

The Etsy conversation ID.

shop_id
string
required

The Etsy shop ID, as a string.

priority
string
required

The conversation's priority in Alura: high (an urgent one stays urgent).

Allowed value: "high"
recorded
boolean
required

Always true: the handoff is recorded, a repeat while one already stands too (Alura may not have seen the seller's latest reply on Etsy yet, so a repeat is never dropped).

reopened
boolean
required

Whether the conversation was closed or snoozed in Alura and is now open again.

etsy
enum<string>
required

Etsy's unread flag: requested (this call opened a new handoff: Alura will try to mark the conversation unread on Etsy after saving it; the attempt can be refused (Etsy access paused, the extension offline), its outcome is not in this answer, and a retry never tries again), not_applied (marking unread on Etsy is not available here: the handoff is recorded in Alura only) or unchanged (a handoff was already standing in Alura, so the unread flag was not sent to Etsy again).

Available options:
requested,
not_applied,
unchanged
created_at
string
required

When the handoff was recorded (ISO 8601, UTC).