⚙️
API Docs
  • Welcome!
  • Quick Start
  • Reference
    • API Reference
      • Plaque Lookup API
      • Plaques Prepare API
      • Owner Username API
      • Featured Plaques API
      • Latest contract API
      • Plaques List API
      • Buy Plaque API
      • Stage Wallet Authentication API
      • Email Verification API
      • Request For Private Key API
      • Private Key API
      • Orders Statistics API
      • User Profile API
    • Blockchain Smart-Contract
      • Plaque Price Method
      • Check mintTranfer Method
      • MintTransfer method
      • Token Owners Method
Powered by GitBook
On this page
  1. Reference
  2. API Reference

Email Verification API

The Email Verification API allows a user to verify his own email address and get an authentication token to sign in.

Buy Plaque API

GET https://api.stagemeta.dev/auth/evaluate-email-verification-code

Query Parameters

Name
Type
Description

email*

String

code*

Number

{
  "user": {
    "id": 1,
    "createdAt": "2023-04-09T07:32:30.207Z",
    "updatedAt": "2023-04-11T13:54:13.299Z",
    "deletedAt": null,
    "email": "johndoe@example.com",
    "username": "johndoe",
    "image": null,
    "walletAddress": "edj8********************d7",
    "receiveEmail": true,
    "canGetDeltaEnergy": false,
    "emailVerify": true,
    "emailVerificationCodeExpireTime": "2023-04-15T13:47:54.603Z",
    "access": [],
    "stripeCustomerId": null,
    "totalEnergyReceived": 0,
    "totalPings": 0,
    "isStageWallet": true
  },
  "token": "eyJhbGciOi*****************************************NaHZ8DXCIacgA"
}

curl -X 'GET' \
  'https://api.stagemeta.dev/auth/evaluate-email-verification-code?email=johndoe@example.com&code=12345' \
  -H 'accept: */*'
fetch('https://api.stagemeta.dev/auth/evaluate-email-verification-code?email=johndoe@example.com&code=72732', {
  method: 'GEt',
  headers: {
    'Accept': 'application/json',
    'Content-Type': 'application/json'
  }
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error(error));
PreviousStage Wallet Authentication APINextRequest For Private Key API

Last updated 2 years ago