admin

Generate a link to send in an email message.

Changed on
post/admin/generate_link

Request

  • Base URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1
  • URL
    https://abcdefghijklmnopqrst.supabase.co/auth/v1/admin/generate_link
  • Auth
    API key in header apikey and HTTP bearer

Request body

type'magiclink' | 'signup' | 'recovery' | 'email_change_current' | 'email_change_new' required
emailstring email required
new_emailstring email
passwordstring
dataobject
redirect_tostring uri

Response

User profile and generated link information.

action_linkstring uri
email_otpstring
hashed_tokenstring
verification_typestring
redirect_tostring uri

Changes

    • info

      added the optional property to 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

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added