Skip to main content
POST
/
api
/
v1
/
auth
/
complete-signup
Complete Signup
curl --request POST \
  --url https://api.example.com/api/v1/auth/complete-signup \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "display_name": "<string>"
}
'

Complete Signup

Finalize a new user account after Supabase authentication. This sets the user’s profile details.

Authentication

Requires a valid Supabase JWT token.

Request Body

username
string
required
Unique username for the account.
display_name
string
required
Display name visible to other users.

Response

Returns the created user profile.

Example

curl -X POST https://api.ama2.me/api/v1/auth/complete-signup \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "username": "alice",
    "display_name": "Alice"
  }'