Create User
POST/users
Creates a new user
Request
- application/json
Body
required
Array [
- playlist_library_folder
- playlist_library_playlist_identifier
- playlist_library_explore_playlist_identifier
Array [
- playlist_library_playlist_identifier
- playlist_library_explore_playlist_identifier
]
]
Optional user hash ID (will be generated if not provided)
User handle (unique username)
Wallet address (required)
Display name
Possible values: <= 256 characters
User bio
User location
Website URL
Donation link
Twitter handle (without @)
Instagram handle (without @)
TikTok handle (without @)
Profile picture CID or URL
Profile picture sizes metadata
Cover photo CID or URL
Cover photo sizes metadata
Possible values: [label]
Type of profile (e.g., 'label' for record labels)
Whether to allow AI attribution
Solana USDC payout wallet address
playlist_library
object
User's playlist library with support for folders and playlists
contents
object[]
required
Array of folders and playlist identifiers
oneOf
Unique folder identifier
Possible values: [folder]
Folder name
contents
object[]
required
Nested folders and playlist identifiers
oneOf
Possible values: [playlist]
Playlist ID
Possible values: [explore_playlist]
Explore playlist identifier
Possible values: [playlist]
Playlist ID
Possible values: [explore_playlist]
Explore playlist identifier
events
object
User events for tracking referrals and mobile users
Hash ID of the user who referred this user
Whether the user is on mobile
Responses
- 201
- 400
- 401
- 500
User created successfully
- application/json
- Schema
- Example (from schema)
Schema
Whether the user was created successfully
The blockchain transaction hash
The ID of the created user
{
"success": true,
"transaction_hash": "string",
"user_id": "string"
}
Bad request
Unauthorized
Server error