Dayli Docs

Claim an initial username

POST
/api/v1/profile/username

Completes the one-time required username setup for the authenticated account. It never renames an established handle.

Authorization

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/profile/username" \  -H "Content-Type: application/json" \  -d '{    "username": "alexa_park"  }'
{  "username": "alexa_park",  "publicName": "string",  "needsUsernameSetup": true}