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.
Arguments
Returns
MasqueradeAuthenticationProvide a temporary token to get an auth token. This is intended to allow support users to view customer data through the brand interface.
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.
mutation MasqueradeAuthentication(
$masqueradeToken: String!,
$userId: String!
) {
masqueradeAuthentication(
masqueradeToken: $masqueradeToken,
userId: $userId
) {
errors {
...ErrorTypeFragment
}
token
}
}
Variables
{
"masqueradeToken": "a-kind-last-fight-human",
"userId": "86694028"
}
Response
{
"data": {
"masqueradeAuthentication": {
"errors": [ErrorType],
"token": "manage-positive-help-daughter-about"
}
}
}