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": "[email protected]",
"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/[email protected]&code=12345' \
-H 'accept: */*'
Last updated