Register
Authentication
Register
Register a new user account
POST
Register
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/David-Andino/auth-service-dotnet/llms.txt
Use this file to discover all available pages before exploring further.
Description
Creates a new user account with the provided credentials. Upon successful registration, returns authentication tokens and user information.Authentication
No authentication required.Request Body
Username for the new account. Maximum 100 characters.
Valid email address for the account. Must be a valid email format. Maximum 256 characters.
Account password. Must be at least 8 characters long, maximum 128 characters.
Response
JWT access token for authenticating subsequent requests. Typically expires in 15 minutes.
Refresh token used to obtain new access tokens. Typically expires in 7 days.
ISO 8601 timestamp indicating when the access token expires.
User information object containing:
Id(guid): Unique user identifierUsername(string): The usernameEmail(string): The user’s email addressCreatedAt(datetime): Account creation timestamp
Status Codes
- 201 Created: User successfully registered
- 400 Bad Request: Invalid request data (validation failed)
- 409 Conflict: Email address already registered
Example Request
cURL
Example Response
201 Created
409 Conflict