Current Member Data

Returns information about the current site visitor (dependent on login as site member).
Can be accessed via JavaScript on the site's client side.
Returns a JWT with identifying details about the user/member that is signed with your public key (add link to how we sign data).

This API should be used if your application needs to check, on the client-side, if the user is currently logged in to the site. In addition, it allows you to confirm this customer's identity within the insecure environment of the user's browser.

Important:
This API is dependent on the implementation of an Embedded Script component, and can be accessed only via JS from the client-side browser.

Syntax

Copy

Request Params

NameDescription
site_domainSite domain
app_idApp ID (ensures the response will be signed with the correct key)

Response

NameDescription
memberMember data object
member.idGUID of the user that can be used to access more information
signedTokenA signed JWT token, which you can verify with you public key (available in the Developers Center)
Did this help?