User Endpoint
Last updated
Last updated
The User Endpoint handles all User-related Functionalities within a valid Frontend Session. It does not handle User Interaction, you can find those Endpoints here:
POST
https://api.nexx.cloud/v3.1/user/register
This Endpoint registers a User. All User entered Details must be valid POST Attributes (like username, firstname etc).
provider
string
[facebook, google, twitter, aad, external] The User was registered via a Social Connector
vouchercode
string
if given, the Voucher will be consumed automatically after successfull Registration.
affiliatepartner
string
in Case the User originally came from an Affilaite Session but decided to register in a later Session, this Parameter will be the Code an (existing) Affiliate Partner for this User Registration.
affiliateparam
string
in Case of a given Affilate Partner ID, this is a Partner Specific Code, which may be used later in Payment Transactions.
connectedForm
integer
if the Registration Form was built with a nexxOMNIA Form, the Form ID should be sent here. This will ensude automatic Validation based on the Form Rules.
paymentRegistrationService
string
if set and equals a valid 3Q nexx Payment Subscriber Code, the User will be connected to this Service internally.
skipLogin
boolean
if set to 1 and Login would be possible afterwards (=automatic Authorization), the User will not be logged in. Instead, the API will return an itemupdate Object.
isPreRegister
boolean
if set to 1 and Login would be possible afterwards, the User will not be logged in (like "skipLogin" Parameter). In this Case though, the User will also receive a different Confirmation Email for his Login, as the target Platform is not live yet.
POST
https://api.nexx.cloud/v3.1/user/registeranonymous
This Endpoint registers an anonymous User. All User-related Details may be sent via POST (all Attributes are valid except Username).
string
The Email Address to register
POST
https://api.nexx.cloud/v3.1/user/verifyaccountdetailsunique/:item
This Endpoint validates a Username and/or Email Address for Uniqueness.
item
string
the given User Information
POST
https://api.nexx.cloud/v3.1/user/verifytokenunique/:token
This Endpoint validates a 3rd Party Connector Token for Uniqueness.
token
string
the given Connector Token
provider
string
[google, twitter, facebook] the 3Q nexx Code for the Connector.
POST
https://api.nexx.cloud/v3.1/user/authorize/:token
This Endpoint represents the final Step in a Registration Process (if AutoAuthorize is disabled).
token
string
the Authorization Token
POST
https://api.nexx.cloud/v3.1/user/authorizedevice
will verify a new Device for a User with 2FA Login.
code
string
The SMS Code, sent to the User and Device
type
string
[sms, app] the Type of Code submitted, defaults to "sms"
POST
https://api.nexx.cloud/v3.1/user/authorizelogin
will verify a Login for a User with U2F Device
token
string
the U2F Challenge, given as JSON Object, created by the Browser (or ARC SDK)
host
string
the current Domain Host
POST
https://api.nexx.cloud/v3.1/user/prepareavsupdate
provider
string
a 3Q nexx AVS Provider Code
ageclass
integer
[16, 18] the desired new Age Class
POST
https://api.nexx.cloud/v3.1/user/finishavsupdate
transaction
number
The ID of the /startavsupdate Process
transactionresult
boolean
The Result from the AVS Provider. If set to 1, the Age Class will be set.
POST
https://api.nexx.cloud/v3.1/user/registerdeviceforpush
marks the Device as willing to receive Push Messages
token
string
the unique Token for the current Device
POST
https://api.nexx.cloud/v3.1/user/prepareregisteru2fdevice
will create the Challenge for a new U2F Request
host
string
the current Domain Host
POST
https://api.nexx.cloud/v3.1/user/finishregisteru2fdevice
token
string
the U2F Challenge, given as JSON Object, created by the Browser (or ARC SDK)
host
string
the current Domain Host
POST
https://api.nexx.cloud/v3.1/user/prepareregisterauthenticator
will create the Challenge for a new U2F Request
POST
https://api.nexx.cloud/v3.1/user/finishregisterauthenticator
process
int
the Process ID, obtained from the corresponding prepare Call
POST
https://api.nexx.cloud/v3.1/user/requesttakeout
POST
https://api.nexx.cloud/v3.1/user/resetpassword/:token
will reset the User Password to a self-given new Value. This is only valid for a predefined Password Reset Link, which Token must be given too.
token
string
the Token of a valid Password Reset Link
newpassword
string
the new Password
POST
https://api.nexx.cloud/v3.1/user/resendwelcomemail
will resent the User Welcome Email (needs the Eternal Session and a Backend Process).
POST
https://api.nexx.cloud/v3.1/user/verifywelcome
will verify, that the given Password matches the stored User Password
password
string
the User entered Password for Verification
GET
https://api.nexx.cloud/v3.1/user/profile
addEventData
boolean
also include the last 25 joined Events
addGroupData
boolean
also include the last 25 joined Groups
GET
https://api.nexx.cloud/v3.1/user/requestpass
will try to find a registered and authorized User and sends an Email with new Login Details to that Account.
token
string
the given User Information (Email, Username or Phone Number)
GET
https://api.nexx.cloud/v3.1/user/requestkeycode
will invalidate all open 2FA Codes and generates a new Code for the given Device.
PUT
https://api.nexx.cloud/v3.1/user/changepassword
currentpassword
string
the currently used Password
newpassword
string
the new Password
PUT
https://api.nexx.cloud/v3.1/user/updatestatus
status
string
the new Status Update
PUT
https://api.nexx.cloud/v3.1/user/updatechannelsubscriptions
updates a User Notification Preferences for new Media in a given Channel.
channel
integer
the target Channel
viamail
boolean
set to 1, if the User wants to be informed via Email
viapush
boolean
set to 1, if ths User wants to be informed via Push
PUT
https://api.nexx.cloud/v3.1/user/updatedata
will update all User Details (except Password, Username and Status). All given User Details must be sent via PUT Parameters as in the /register Endpoint.
connectedForm
integer
if handled via a nexxOMNIA Form, Auto Validation will take Place based on the Rules for the given Form ID
DELETE
https://api.nexx.cloud/v3.1/user/unsubscribe
unsubscribe from all Newsletters
DELETE
https://api.nexx.cloud/v3.1/user/unregister
will remove the User completey. This Operation cannot be undone, so use with extreme Care.
Media Item List Endpoints return Lists of Media Items, that the User interacted in any Way.
Parameter
Values
Description
forUserID
valid User ID
if omitted, the currently loggedin User is the target User. If coming from a Backend Process with the "eternal Session", this Parameter can be set for querying for statistical Purposes.
mediaDataLevel
[flat, null]
as the returned Lists can become very long, set this Parameter to "flat" in order to only retrieve minimal Media Informations
GET
https://api.nexx.cloud/v3.1/user/history
streamtype
string
reduce returned List to the given Streamtype
excludeCompleted
boolean
dont include fully watched Items
GET
https://api.nexx.cloud/v3.1/user/historyformerge
This special Endpoint is designed for History Synchronization on Login. It only returnes the Media IDs and will always return ALL of them - Paging is not supported in this Case.
streamtypes
string
a Comma seperated List of Streamtypes to be included in the Result Set
includeProgress
boolean
if set to 1, the Result Set will contain a maximally reached Progress for each Media Item (for Streamtypes, that have a Time Dimension)
excludeCompleted
boolean
dont include fully watched Items
maxDays
integer
if set, include only Items, watched during the last maxDays Days.
GET
https://api.nexx.cloud/v3.1/user/searchhistory
streamtype
string
reduce returned List to the given Streamtype
GET
https://api.nexx.cloud/v3.1/user/purchaseditems
streamtype
string
reduce returned List to the given Streamtype
excludeExpired
boolean
dont include PPV Items, that are not available anymore
GET
https://api.nexx.cloud/v3.1/user/favourites
streamtype
string
reduce returned List to the given Streamtype
GET
https://api.nexx.cloud/v3.1/user/watchlist
streamtype
string
reduce returned List to the given Streamtype
GET
https://api.nexx.cloud/v3.1/user/cart
GET
https://api.nexx.cloud/v3.1/user/itemsininterest
GET
https://api.nexx.cloud/v3.1/user/likes
streamtype
string
reduce returned List to the given Streamtype
GET
https://api.nexx.cloud/v3.1/user/ratings
streamtype
string
reduce returned List to the given Streamtype
GET
https://api.nexx.cloud/v3.1/user/comments
streamtype
string
reduce returned List to the given Streamtype
GET
https://api.nexx.cloud/v3.1/user/clips
GET
https://api.nexx.cloud/v3.1/user/uploads
streamtype
string
return Uploads of the given Streamtype
GET
https://api.nexx.cloud/v3.1/user/teams
GET
https://api.nexx.cloud/v3.1/user/events
POST
https://api.nexx.cloud/v3.1/user/prepareupload
This Endpoint will return Upload URLs, Tokens and Filenames for all file based UGC Uploads.
file
string
the Name of the File to upload
fromCapture
boolean
if set to 1, this File has been taken by Camera (or Microphone)
forUserStory
boolean
if set to 1, the File will be added to the Users own Story
POST
https://api.nexx.cloud/v3.1/user/finishupload
This Endpoint will return Upload URLs, Tokens and Filenames for all file based UGC Uploads.
file
string
The Server Filename, received from /prepareupload
originalFile
string
the original Filename
context
string
The Purpose of the Upload [profilepicture, profilebackground, image, video, videocover, articlecover, playlistcover, collectioncover]
item
number
in Case the uploaded File is a Cover, set the ID of the target Media Item here
forUserStory
boolean
if set to 1, the File will be added to the Users own Story
lat
number
the Latitude of the Users Geo Position
lng
number
the Longitude of the Users Geo Position
mediaTitle
string
the Title of the Media Item (only usefull if context is image or video)
mediaDescription
string
the Description of the Media Item (only usefull if contexts is image or video)
POST
https://api.nexx.cloud/v3.1/user/addarticle
This Endpoint will create a UGC Media Item of Streamtype "article".
title
string
the Title of the new Article
subtitle
string
an optional Subtitle of the new Article
teaser
string
an optional Teaser for the new Article
text
string
the Contents of the Article (should be HTML)
autoPublish
boolean
if set to 1, automatically post the Article (unless Domain UGC Restrictions are active)
POST
https://api.nexx.cloud/v3.1/user/addplaylist
Thsi Endpoint will create a UGC Media Item of Streamtype "playlist".
title
string
the Title of the new Playlist
subtitle
string
an optional Subtitle of the new Playlist
teaser
string
an optional Teaser for the new Playlist
description
string
an optional Description for the new Playlist
autoPublish
boolean
if set to 1, automatically post the Playlist (unless Domain UGC Restrictions are active
POST
https://api.nexx.cloud/v3.1/user/addcollection
This Endpoint will create a UGC Media Item of Streamtype "collection"
title
string
the Title of the new Collection
subtitle
string
an optional Subtitle of the new Collection
teaser
string
an optional Teaser for the new Collection
description
string
an optional Description for the new Collection
autoPublish
boolean
if set to 1, automatically post the Collection (unless Domain UGC Restrictions are active