Artisyn API
  1. Auth
Artisyn API
  • INTRODUCTION
  • Auth
    • OAUTH
      • Google
      • Google Callback
    • Login
      POST
    • Register
      POST
    • Verify Account
      PUT
    • Logout
      DELETE
    • Forgot Password
      POST
    • Reset Password
      PUT
  • Admin
    • Categories
      • List Categories
      • Create Category
      • Get Category
      • Update Category
      • Delete Category
  • Categories
    • List Categories
      GET
    • Get Category
      GET
  • Curator
    • Artisans
      • List Artisans
      • Create Artisan
      • Show Artisan
      • Update Artisan
      • Toggle Activation
      • Bulk Operation
      • Delete Artisan
  • Index
    POST
  1. Auth

Verify Account

PUT
http://127.0.0.1:3000/api/account/verify/{type}
Maintainer:Not configured

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params application/x-www-form-urlencoded

Responses

🟢202Account Verified
application/json
Body

🟢202Code Resent
🟠429Already Verified
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://127.0.0.1:3000/api/account/verify/email' \
--header 'Authorization: Bearer <token>' \
--data-urlencode 'code=JGFyZ29uMmlkJHY9MTkkbT02NTUzNix0PTMscD00JEU1ajdPWE5VSU9kdjNJdGJlQmNkOUEkU21aTDJRRjNvdjJqNnB3c3JYNHo3VWV4Qy93K2pTNTFUVzN2SHZ4TnhoVQ' \
--data-urlencode 'resend=true'
Response Response Example
202 - Example 1
{
    "data": {
        "id": "string",
        "email": "string",
        "walletAddress": null,
        "firstName": "string",
        "lastName": "string",
        "role": "string",
        "avatar": null,
        "bio": null,
        "phone": null,
        "verified": true,
        "createdAt": "string",
        "updatedAt": "string",
        "locationId": null
    },
    "status": "string",
    "message": "string",
    "code": 0
}
Modified at 2025-05-17 16:25:13
Previous
Register
Next
Logout
Built with