personalizer.io Documentation

Help Page Home

POST v1/UserAuthentication

Get user access token.

Request Information

URI Parameters

None.

Body Parameters

User authentication info.

UserAuthenticationInfo
NameTypeDescriptionComments
ApiKey string

Subscriber's API key obtained from administration panel.

Required

UserIdentifier string

User's unique identifier in its source system.

Required

IdentificationMethods UserIdentificationMethods

Additional information about the user that might help identify the user from other sources to deliver deeper personalization.

Optional

Request Formats

application/json, text/json

Sample:
{
  "ApiKey": "6ce9a7c68580b27d20fc2138f9128f916ce9a7c68580b27d20fc2138f9128f91",
  "UserIdentifier": "User identifier",
  "IdentificationMethods": {
    "TwitterHandle": "@JonSnow",
    "EmailAddress": "jonsnow@castleblack.com",
    "CellPhone": "2005667669"
  }
}

Response Information

Resource Description

User access token.

AuthenticationResult
NameTypeDescriptionComments
AccessToken string

Response Formats

application/json, text/json

Sample:
{
  "AccessToken": "42C0D318D2334006DBEE0B20E9B0A4CFB55C00DBAF790D1D9373B1232D9CB8D21DFCB0C9D0F64C246F876CEA5904D9AEBDFDC976756CFCA26217664B46C218139AD463FC46254F28079EA94C4657935823203F3E29DD5F98F6996E1B4441E1E17EC085F566D707A40B2554D50044169E78A5EEA3A3D3D82C2E3358EAF31288C4275C2C6B81B04374543873FD6DFE147AB43194316D435C152BA27C7BF9D530EF"
}