POST
/
api
/
v1
/
auth
/
sign-up
curl --location --request POST 'https://api.rapidagent.ai/api/v1/auth/sign-up' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Jane Doe",
    "email": "[email protected]",
    "password": "My password"
}'
{
  "success": true,
  "data": {
    "user": {
      "id": "clhqo2uql00026i1eeegxkzpw",
      "email": "[email protected]",
      "password": "$2b$12$KhnsvpK0S5hfHa5KSEGLOuy8g2tkRXnB5tEQukMugKXQHOFoIT9ga",
      "name": "Jane Doe",
      "createdAt": "2023-05-16T19:28:30.089000+00:00",
      "updatedAt": "2023-05-16T19:28:30.089000+00:00",
      "deletedAt": null,
      "profile": null,
      "Agent": null,
      "ApiToken": null,
      "Document": null
    }
  }
}

Body

name
string

The name of the user.

email
string

A valid user email.

password
string

A valid password

Response

success
boolean

Indicates whether the call was successful.

data
object

Object containing the user.

curl --location --request POST 'https://api.rapidagent.ai/api/v1/auth/sign-up' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Jane Doe",
    "email": "[email protected]",
    "password": "My password"
}'
{
  "success": true,
  "data": {
    "user": {
      "id": "clhqo2uql00026i1eeegxkzpw",
      "email": "[email protected]",
      "password": "$2b$12$KhnsvpK0S5hfHa5KSEGLOuy8g2tkRXnB5tEQukMugKXQHOFoIT9ga",
      "name": "Jane Doe",
      "createdAt": "2023-05-16T19:28:30.089000+00:00",
      "updatedAt": "2023-05-16T19:28:30.089000+00:00",
      "deletedAt": null,
      "profile": null,
      "Agent": null,
      "ApiToken": null,
      "Document": null
    }
  }
}