Skip to main content
GET
Get User Profile

Overview

This endpoint retrieves comprehensive profile and authentication data for the currently authenticated user. It returns both the user’s profile information (managed by Harbor Parking) and their basic authentication data (managed by Supabase Auth).

Authentication

Response

profile
object
required
User’s Harbor Parking profile information
user
object
required
User’s authentication data from Supabase

Example Request

Example Response

Error Responses

Use Cases

Check User Approval Status

Display User Information

Profile Completeness Check

Rate Limiting

This endpoint is rate limited to:
  • 10 requests per minute per user
  • 100 requests per hour per user

Security Notes

  • Profile data is protected by Row Level Security (RLS)
  • Users can only access their own profile data
  • Administrators can view all profiles through separate admin endpoints
  • Email and phone data should be handled securely in client applications

Next: Update Profile

Learn how to update user profile information