Skip to main content

Arguments

masqueradeToken : String! required

The masquerade token issued by the support site.

userId : String! required

The ID of the AccountUser to masquerade as.

Returns

MasqueradeAuthentication

Provide a temporary token to get an auth token. This is intended to allow support users to view customer data through the brand interface.

Allowed Viewers

Customer Partner User Third party

Required Permissions

(No)

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation MasqueradeAuthentication( $masqueradeToken: String!, $userId: String! ) { masqueradeAuthentication( masqueradeToken: $masqueradeToken, userId: $userId ) { errors { ...ErrorTypeFragment } token } }

Variables

{ "masqueradeToken": "north-understand-leader-everyone-skin", "userId": "49693274" }

Response

{ "data": { "masqueradeAuthentication": { "errors": [ErrorType], "token": "actually-prove-begin-boy-those" } } }