Skip to main content
POST
/
idp
/
api
/
v1
/
user
/
sign-up
curl --request POST \
  --url https://be.datagol.ai/idp/api/v1/user/sign-up \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "demo@abc.com",
  "password": "PasswordDemo1",
  "firstname": "John",
  "lastname": "Peter"
}
'

Body

application/json
email
string<email>
required

User's email address

password
string<password>
required

Must include uppercase, lowercase, number, and special character.

Minimum string length: 8
firstname
string
required

User's first name

lastname
string
required

User's last name

hash
string<uuid>

Invitation hash received in the workspace invitation email. Required only for workspace invitation flow.

Response

Self Registration: User registered successfully and OTP sent to email. | Workspace Invitation: User registered and linked to the workspace.