SignUpResponse interface

Response from the /signup endpoint. Matches backend SignUpResponse model.

Note: No token is issued at signup. Clients must call signIn() with grant_type=password to obtain an access token.

Properties

createdAt

When the user was created, as an ISO 8601 timestamp.

email

The email address the user registered with.

emailVerified

Whether the user's email has been verified.

emailVerifiedAt

When the email was verified (ISO 8601), or null if not yet verified.

role

The role assigned to the user (default: "Authenticated").

userId

The unique identifier of the newly created user.

Property Details

createdAt

When the user was created, as an ISO 8601 timestamp.

createdAt: string

Property Value

string

email

The email address the user registered with.

email: string

Property Value

string

emailVerified

Whether the user's email has been verified.

emailVerified: boolean

Property Value

boolean

emailVerifiedAt

When the email was verified (ISO 8601), or null if not yet verified.

emailVerifiedAt: null | string

Property Value

null | string

role

The role assigned to the user (default: "Authenticated").

role: string

Property Value

string

userId

The unique identifier of the newly created user.

userId: string

Property Value

string