Create Login Token
Create Login Token
POST
[PlatformAddress]/api/1.0/event?action=createLoginToken
Path Parameters
event
integer
The event identifier for the contact to be logged in to
contact
integer
The contact identifier to allow the login
referrer
string
Referrer of the request which will be used in validating the token later
Example Request
Example: Request a login token for a contact on an event
Description
Creates a login token that can be used to login to an event, on the behalf of a registered contact. This call takes an event identifier and a contact identifier and an optional referrer url to generate a single-use, time restricted token.
The result will be the token and a URL that can be used to redirect the user to have them logged in to view their registration details without the use of a username and password.
If the referrer is provided when creating the token, the browser’s referrer header will also be checked to ensure the request using the token has been redirected from the specific website saved against the token.
Returns
token
Single use, time restricted token for the contact to login to the iVvy Event Website
loginUrl
The URL that must be used to authenticate the user with the token
Throws
Specific Code: 24099
Unable to generate token
Specific Code: 24098
Unable to find event
Last updated