auth

Signs a user up.

Changed on

Creates a new user.

post/signup

Request

  • Base URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1
  • URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1/signup
  • Auth
    API key in header apikey

Request body

emailstring email
phonestring phone
channel'sms' | 'whatsapp'
passwordstring
dataobject
code_challengestring
code_challenge_method'plain' | 's256'

Response

A user already exists and is not confirmed (in which case a user object is returned). A user did not exist and is signed up. If email or phone confirmation is enabled, returns a user object. If confirmation is disabled, returns an access token and refresh token response.

OR

Changes

    • warning

      removed the optional property /////// from the response with the status

    • warning

      removed the optional property ////// from the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • breaking

      the /////// response's property type changed from jsonb to string for status

    • breaking

      the ////// response's property type changed from jsonb to string for status

    • info

      added the optional property to the response with the status