API overview
Read the current account
Choose an operation to see its request, response shape, access rules and implementation source.
ReadAuthenticated
GET/api/v1/me
Read the current account
Sanctum session or bearer token. Required bearer ability: account.read
Request
No parameters or request body.
curl --request GET "https://shop.example.test/api/v1/me" \
--header 'Accept: application/json' \
--header "Authorization: Bearer $API_TOKEN"Response200
Success: 200
Response shape (notation, not a captured response)
{ data: { id: integer, name: string, email: string, email_verified: boolean } }Common errors
| HTTP status | Meaning |
|---|---|
401 | unauthenticated: missing or invalid authentication. |
403 | unauthorized, insufficient_scope or ip_not_allowed: check account context, required ability and token IP policy. |
429 | rate_limited: back off before retrying, especially writes. |