Authentication
User authentication and management
Query parameters
userIdstringRequired
Responses
200
User found
application/json
400
Bad request
application/json
404
Resource not found
application/json
500
Internal server error
application/json
get
GET /api/auth/user?userId=text HTTP/1.1
Host:
Accept: */*
{
"id": "text",
"walletAddress": "text",
"createdAt": "2025-10-09T00:12:28.327Z",
"updatedAt": "2025-10-09T00:12:28.327Z"
}
Body
dynamicUserIdstringRequired
walletAddressstring | nullableOptional
Responses
200
Existing user returned
application/json
Responseall of
201
New user created
application/json
400
Bad request
application/json
500
Internal server error
application/json
post
POST /api/auth/user HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"dynamicUserId": "text",
"walletAddress": "text"
}
{
"id": "text",
"walletAddress": "text",
"createdAt": "2025-10-09T00:12:28.327Z",
"updatedAt": "2025-10-09T00:12:28.327Z",
"isNewUser": true
}