cURL
curl --request GET \ --url https://api.marzipan.co/v1/account/details \ --header 'Authorization: Bearer <token>'
{ "data": { "firstName": "Demo", "lastName": "User", "email": "[email protected]", "phone": "+44 7700 900123", "marketing": [] } }
Retrieve the authenticated user’s account details including personal information and marketing preferences.
Bearer authentication header of the form Bearer <token>, where <token> is the account token returned from the Login endpoint.
Bearer <token>
<token>
Login
Success
Show child attributes