← Retour à la liste des opérations
Mutation

verifyEmail

verifyEmail(token: String!): Boolean!

Informations d'appel

Point d'accès

https://api.revclic.com/

Méthode

POST

Authentification

Jeton Bearer (JWT)

Retourne

Boolean!

Arguments

ParamètreTypeValeur par défautStatut
tokenString!Obligatoire

Exemple de requête GraphQL

mutation ExecuteVerifyEmail($token: String!) {
  verifyEmail(token: $token)
}

Exemple de variables

{
  "token": "<token>"
}

Payload JSON complet

{
  "query": "mutation ExecuteVerifyEmail($token: String!) {\n  verifyEmail(token: $token)\n}",
  "variables": {
    "token": "<token>"
  }
}

Exemple cURL à tester

curl -X POST https://api.revclic.com/ \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>" \
  -d '{
  "query": "mutation ExecuteVerifyEmail($token: String!) {\n  verifyEmail(token: $token)\n}",
  "variables": {
    "token": "<token>"
  }
}'