cURL
curl --request GET \ --url https://api.voltview.co.uk/v1/getUser \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "email": "jsmith@example.com", "firstName": "<string>", "lastName": "<string>", "organisation": "<string>", "role": "<string>" }
Retrieves the authenticated user’s profile information
Supabase Auth JWT access token obtained after signing in via magic link or OTP
User profile retrieved successfully
User identifier
User email
User first name
User last name
User organisation
User role in the organisation