Skip to main content
cURL
Cost: 1 API credit per call.
No extension is needed for this request: it reads Alura’s stored figures. Alura does not refresh them on a schedule, so as_of says when each was read: status is stale once the figures are older than yesterday or the needs-reply count is older than an hour. For the inbox as it is now, list conversations with needs_reply=true. Missing figures are null; status and reason explain missing or old data. Use period=current (default) or previous. Needs workspace:read; needs-reply also needs messages:read and Customer analytics permission, otherwise it is null with needs_reply_error.

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"

period
enum<string>
default:current
Available options:
current,
previous
fields
string

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

Response

OK

object
string
required
Allowed value: "customer_service"
shop_id
string
required
period
enum<string>
required
Available options:
current,
previous
star_seller
boolean | null
required

Etsy's Star Seller status at the time of the read.

service_level
enum<string> | null
required

Etsy service level; null for an unknown tier.

Available options:
room_to_improve,
meeting_service_standard,
great_service,
stellar_service,
not_enough_data
badges
object
required
review_window
object
required
next_check_date
string<date> | null
required

UTC date, YYYY-MM-DD; null when Etsy did not give an unambiguous 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])))$
evaluated_on
string<date> | null
required

UTC date, YYYY-MM-DD; null when Etsy did not give an unambiguous 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])))$
message_response
object
required
shipping
object
required
reviews
object
required
cases
object
required
as_of
string<date-time> | null
required

ISO 8601, UTC; null when never read.

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])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
status
enum<string>
required

ok: a recent stored figure and a successful last attempt; stale: a failed last attempt or an old figure; unavailable: never read.

Available options:
ok,
stale,
unavailable
reason
string | null
required

Why the figure is missing or old: not_read_yet, outdated, or the last refresh error code; null when ok.

last_attempt_at
string<date-time> | null
required

ISO 8601, UTC; null when never read.

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])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
needs_reply
object | null
required
needs_reply_error
enum<string> | null
required
Available options:
insufficient_scope,
role_required