Skip to main content
POST
/
api
/
auth
/
sign-up
/
email
Sign up with email + password
curl --request POST \
  --url https://api.tedro.io/api/auth/sign-up/email \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "password": "••••••••",
  "name": "Jane Doe"
}
'
{
  "user": {
    "id": "<string>",
    "email": "jsmith@example.com",
    "name": "<string>",
    "emailVerified": true
  },
  "session": {
    "id": "<string>",
    "userId": "<string>",
    "expiresAt": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tedro.io/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Better Auth email/password sign-up payload

email
string<email>
required
password
string
required
Minimum string length: 8
name
string
required
Minimum string length: 1

Response

Account created; session cookie set

Better Auth session + user after successful sign-in/sign-up

user
object
required
session
object
required