Ga naar de inhoud
agovena.
agovena.
Aan de slag
Community

API-overzicht

Lees het huidige account

Kies een handeling voor het request, responsestructuur, toegangsregels en implementatiebron.

LezenGeauthenticeerd

GET/api/v1/me

Lees het huidige account

Sanctum-sessie of bearer-token. Vereiste bearer-bevoegdheid: account.read

Verzoek

Geen parameters of requestbody.

cURL
curl --request GET "https://shop.example.test/api/v1/me" \
  --header 'Accept: application/json' \
  --header "Authorization: Bearer $API_TOKEN"
Antwoord200
Succes: 200

Responsestructuur (notatie, geen opgenomen antwoord)

schema
{ data: { id: integer, name: string, email: string, email_verified: boolean } }

Volledig responseschema

Gebruikelijke fouten
HTTP-statusBetekenis
401unauthenticated: ontbrekende of ongeldige authenticatie.
403unauthorized, insufficient_scope of ip_not_allowed: controleer klantcontext, bevoegdheid en token-IP-beleid.
429rate_limited: wacht voor een nieuwe poging, vooral bij schrijfverzoeken.
Foutstructuur en globale aandachtspunten

Doorzoek de documentatie

Zoek handleidingen, commando’s en API-endpoints

Waar ben je naar op zoek?

Documentatie