Skip to main content
GET
Get authenticated user

Request

Headers

Successful response

You confirm the token is still valid when you receive the shopper profile and the tokenExpiresAt timestamp.

Error response

A 401 response means the token is missing, expired, or revoked. Prompt the shopper to re-authenticate before retrying.

Headers

x-shop-id
string

Optional identifier that scopes responses to a specific storefront when the referer cannot be inferred.

Response

User profile retrieved successfully.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"Authenticated user retrieved successfully"

data
object
required