Skip to main content
cURL
Cost: 1 API credit per page.
The list is Alura’s stored copy of each shop’s Etsy inbox, the one Alura’s Messages page keeps: reading it never reads Etsy. Read one conversation’s messages with Get conversation, which takes the same ID. Needs messages:read and the Customer analytics workspace permission; the buyer and order_id also need orders:read, else they are null with buyer_error. summary.shops gives each shop’s refreshed_at. The notice inbox_stale_shops names shops whose newest inbox page reached Alura more than 10 minutes ago, inbox_never_refreshed those it holds no inbox for.
Etsy’s inbox gives relative times, so last_message_at is counted back from when Alura read the list. With a last_message_at_precision it is the latest time the message can have been sent. A null precision means Alura stored the time before it kept how exact each one is: the message may have been sent earlier or later than it says.
Page 1 is always current. A walk over several pages can miss or repeat a conversation that changed while it walked, and total counts the matches when each page was read.

Authorizations

Authorization
string
header
required

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

Query Parameters

shop_id
string[]

Only these connected shops, comma-separated; default every connected shop of the workspace. A shop outside the workspace is 404.

status
enum<string>
default:open

open (default), snoozed or closed.

Available options:
open,
snoozed,
closed
Example:

"open"

unread
enum<string>

true: only unread; false: only read.

Available options:
true,
false
Example:

"true"

starred
enum<string>

true: only starred; false: only the others.

Available options:
true,
false
last_message_after
string

Only conversations whose last_message_at is at or after this time (a date is midnight UTC); none with no time.

Pattern: ^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}(:\d{2}(\.\d{1,3})?)?(Z|[+-]\d{2}:\d{2}))?$
last_message_before
string

Only conversations whose last_message_at is before this time, and those with no time (they count as older than any).

Pattern: ^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}(:\d{2}(\.\d{1,3})?)?(Z|[+-]\d{2}:\d{2}))?$
sort
enum<string>
default:newest

newest (default) or oldest, by last_message_at; a conversation with no time counts as the oldest: last in newest, first in oldest.

Available options:
newest,
oldest
starting_after
string

Start after this conversation (an ID from your own inbox list) in the chosen sort: how a walk continues past the 10,000-result window. A 404 when no such conversation is in the shops listed.

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

Page size: at most 50, the default. A larger whole number gets 50 rows and limit_applied.

Required range: x >= 1
cursor
string

The next_cursor of the previous page. Bound to the query, the workspace and the key.

fields
string

Comma-separated dotted paths to return; id, object and as_of always come back.

Response

OK

object
string
required
Allowed value: "list"
data
object[]
required
has_more
boolean
required
next_cursor
string | null
required
total
object
required
summary
object
required
limit_applied
integer

Present only when limit asked for more than 50: the page size used instead, 50.