users
GET /users/{id}/sales
Changed onGets the sales the user has made
Request
- Base URLhttps://api.audius.co/v1
- Auth
- none
- or OAuth 2Authorization code/v1/oauth/authorizeToken URL/v1/oauth/tokenScopesread
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
A User ID
Query parameters
offsetinteger
The number of items to skip. Useful for pagination (page number * limit)
limitinteger
The number of items to fetch
user_idstring
The user ID of the user making the request
sort_method'content_title' | 'artist_name' | 'buyer_name' | 'date'
The sort direction
sort_direction'asc' | 'desc'
The sort direction
content_idsstring[]
Filters purchases by track or album IDs
Headers
Encoded-Data-Messagestring
The data that was signed by the user for signature recovery
Encoded-Data-Signaturestring
The signature of data, used for signature recovery
Response
Success
Changes
- info
endpoint added
- info