AHUER.COM API Service
  1. EmailPassword Recipe
AHUER.COM API Service
  • Authentication
    • User Sign In
      POST
    • User Sign Out
      GET
    • Get Current Token Info
      GET
    • Get Current User Info
      GET
    • User Sign Up
      POST
    • SuperTokens SignIn
      POST
    • SuperTokens SignUp
      POST
    • SuperTokens SignOut
      POST
    • Test Rbac Permissions
      POST
  • User
    • Get Me Info
      GET
    • Update Description
      POST
    • Add Contact Info
      POST
    • Get Contact Info
      GET
    • Remove Contact Info
      DELETE
    • Remove All Contact Info
      DELETE
    • Remove User
      DELETE
  • Item
    • Get Items Of User
    • Get Items Of User
    • Get Item Detailed Info
    • Add Item
    • Update Item
    • Remove All Items
    • Remove Items
    • Add Question
    • Get Questions Of Item
    • Answer Question
    • Delete Question
  • Favourite
    • Get Fav Items
    • Add Fav Item
    • Remove Favourite Items
    • Remove All Favourite Items
  • Trade
    • Start Transaction
    • Accept Transaction
    • Get Transactions
    • Cancel Transaction
    • Confirm Transaction
  • Notification
    • Send Notifications
    • Get User Notifications
    • Get User Notification By Id
    • Mark Notification Read
    • Read All Notifications
  • SuperToken
    • EmailPassword Recipe
      • signIn
        POST
      • signUp
        POST
      • emailExistsDepr
        GET
      • emailExists
        GET
      • passwordResetToken
        POST
      • passwordReset
        POST
    • TOTP Recipe
      • listTOTPdevices
      • createTOTPDevice
      • removeTOTPDevice
      • verifyTOTPDevice
      • verifyTOTP
    • MultiFactorAuth Recipe
      • getMFAInfo
    • Passwordless Recipe
      • passwordlessSignInUpStart
      • passwordlessSignInUpResend
      • passwordlessSignInUpConsume
      • passwordlessEmailExistsDepr
      • passwordlessEmailExists
      • passwordlessPhoneNumberExistsDepr
      • passwordlessPhoneNumberExists
    • Session Recipe
      • signout
      • refresh
    • ThirdParty Recipe
      • signInUp
      • authorisationUrl
      • thirdPartyCallbackApple
    • Multitenancy Recipe
      • loginmethods
    • EmailVerification Recipe
      • verifyEmailToken
      • verifyEmail
      • getVerifyEmail
    • JWT Recipe
      • getJWKS
    • OpenId Recipe
      • getOpenIdDiscoveryConfiguration
    • App API
      • exampleAppAPI
  • Search
    • Search Items By Name
    • Search Items By Tags
  1. EmailPassword Recipe

signUp

Develop Env
http://localhost:8000
Develop Env
http://localhost:8000
POST
/{apiBasePath}/<tenantId>/signup
Signup a user with email ID and password

Request

Path Params

Header Params

Body Params application/json

Example
{
    "formFields": [
        {
            "id": "email",
            "value": "johndoe@gmail.com"
        },
        {
            "id": "password",
            "value": "testPass123"
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8000//<tenantId>/signup' \
--header 'Content-Type: application/json' \
--data-raw '{
    "formFields": [
        {
            "id": "email",
            "value": "johndoe@gmail.com"
        },
        {
            "id": "password",
            "value": "testPass123"
        }
    ]
}'

Responses

🟢200OK
application/json
Sign up Response
Headers

Body

Example
{
    "status": "OK",
    "user": {
        "id": "fa7a0841-b533-4478-95533-0fde890c3483",
        "timeJoined": 1638433545183,
        "isPrimaryUser": true,
        "tenantIds": [
            "public"
        ],
        "emails": [
            "johndoe@gmail.com"
        ],
        "phoneNumbers": [
            "36201234123"
        ],
        "thirdParty": [
            {
                "id": "google",
                "userId": "rq238mrq2389rvq123213"
            }
        ],
        "loginMethods": [
            {
                "recipeId": "emailpassword",
                "recipeUserId": "fa7a0841-b533-4478-95533-0fde890c3483",
                "verified": true,
                "tenantIds": [
                    "public"
                ],
                "timeJoined": 1638433545183,
                "email": "johndoe@gmail.com",
                "phoneNumber": "36201234123",
                "thirdParty": {
                    "id": "google",
                    "userId": "rq238mrq2389rvq123213"
                }
            }
        ]
    }
}
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Modified at 2024-10-01 07:35:40
Previous
signIn
Next
emailExistsDepr
Built with