Deplo
API Reference

Sign up with email and password

POST
/auth/email/signup

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/auth/email/signup" \  -H "Content-Type: application/json" \  -d '{    "email": "[email protected]",    "password": "SecurePassword123!",    "name": "John Doe"  }'
{
  "user": {
    "id": "user-id",
    "email": "[email protected]",
    "name": "John Doe",
    "createdAt": "2024-01-01T00:00:00.000Z"
  },
  "tokens": {
    "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
  }
}
Empty
Empty