login

To obtain a token, use the login query, requesting a token as a return value.

Arguments

clientId: (String!)
clientToken: (String!)
Query Example
mutation {
  login(clientId: "04c9dc54-313d-560d-03d2-72cc0a0c2ee3", clientToken: "b2ee5f6180d9e0efbb539a4dc383171a2fb3d77a30ef6d6e") {
    token
  }
}
CURL Request
curl -X POST https://cms.gatherdigital.com/graphql -H "Content-Type:application/graphql" -d 'mutation { login(clientId: "04c9dc54-313d-560d-03d2-72cc0a0c2ee3", clientToken: "b2ee5f6180d9e0efbb539a4dc383171a2fb3d77a30ef6d6e") { token }}'
Response Example
"data": {
    "login": {
      "token": “123abcveryLongAuthorizationToken456def"
    }
  }
}