users
POST /users
Changed onCreates a new user
Request
- Base URLhttps://api.audius.co/v1
- Auth
- HTTP bearer
- or HTTP basic
- or OAuth 2Authorization code/v1/oauth/authorizeToken URL/v1/oauth/tokenScopeswrite
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"user_id": "p9Km2Lx",
"handle": "newartist",
"wallet": "0x1234...",
"name": "New Artist",
"playlist_library": {
"contents": [
{
"contents": [
{
"playlist_id": 1234
}
]
}
]
},
"events": {
"referrer": "k9Xm5Pz"
}
}Response
User created successfully
Changes
- info
added the new optional request property
- info
- info
endpoint added
- info