Skip to main content
POST
/
v1
/
auth
/
register
Register a new account
curl --request POST \
  --url https://api.magne.app/v1/auth/register \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "password": "<string>",
  "email": "<string>",
  "displayName": "<string>"
}
'
{
  "pendingId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
username
string
required
password
string
required
email
string
required
displayName
string | null

Response

Success

pendingId
string<uuid>
message
string