Auth

Sync User

Ensure user profile exists in database. Called after Supabase Auth signup/login. Note: This endpoint uses the user ID from the request body since it's called during the initial auth flow before the user has a valid session.

post/api/v1/auth/sync

Request

  • Base URL: https://api.freeastroapi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.freeastroapi.com/api/v1/auth/sync
  • Auth: none declared

Request body

idstring required
emailstring required
full_namestring nullable
avatar_urlstring nullable
company_namestring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.