Skip to main content
cURL
Cost: 1 API credit per page.
No extension is needed for this request: it reads Alura’s stored snapshots. Results are newest first, ten per page; follow next_cursor. from and to are inclusive UTC dates, default the last 30 days, at most 400 days. period is current or previous; omit it for both. Days without a successful read are absent. Needs workspace:read; needs-reply also needs messages:read and Customer analytics permission.

Authorizations

Authorization
string
header
required

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

Query Parameters

shop_id
string

Connected Etsy shop ID, as a string; optional when the workspace has one shop.

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

"22841907"

from
string<date>
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
to
string<date>
Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
period
enum<string>
Available options:
current,
previous
limit
integer

Page size: at most 10, the default. A larger whole number gets 10 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
limit_applied
integer

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