CallDocumentation Index
Fetch the complete documentation index at: https://docs.drssed.app/llms.txt
Use this file to discover all available pages before exploring further.
POST /auth/upgrade to convert a guest session into a full registered account. You must be authenticated with the guest account’s JWT. All data created during the guest session — clothing items, outfits, and other records — is preserved under the same user ID after the upgrade. The same access token and refresh token remain valid after the call.
Endpoint
| Field | Value |
|---|---|
| Method | POST |
| Path | /auth/upgrade |
| Auth required | Yes (guest Bearer token) |
| Rate limit | 5 per minute |
Request body
Email address for the new account. Must be unique across all registered accounts.
Username for the new account. Must be unique across all registered accounts.
Password for the new account.
Optional profile picture reference to associate with the account.
Response fields
Status: 201 CreatedThe unique identifier for the user. This is the same ID that was assigned during the guest session.
The username set during upgrade.
The email address set during upgrade.
Always
false after a successful upgrade.ISO 8601 timestamp of when the account was originally created (during the guest session).
ISO 8601 timestamp of when the account was last updated.
Profile picture reference, if one was provided in the request.
Example
cURL
Response