Skip to content
Coursey CreativeSign in

GET /auth/me

/api/store/[slug]/auth/me

Returns the currently authenticated storefront customer's basic account info.

Customer bearer token requiredHow authentication works

Path parameters

slugstringrequired

Business store slug (non-empty string); 404 if no business matches.

Responses

200

The request succeeded.

401

The key or customer token is missing, malformed, or no longer valid.

404

No such store, or no such record inside it.

What comes back

200: { success: true, customer: { id, email, created_at, last_sign_in_at } }. Errors: { success: false, error } with 401 (auth) or 404 (business not found).