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 Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://127.0.0.1:3000/api/account/verify/email' \
--data-urlencode 'code=JGFyZ29uMmlkJHY9MTkkbT02NTUzNix0PTMscD00JEU1ajdPWE5VSU9kdjNJdGJlQmNkOUEkU21aTDJRRjNvdjJqNnB3c3JYNHo3VWV4Qy93K2pTNTFUVzN2SHZ4TnhoVQ' \
--data-urlencode 'resend=true'
Response Response Example
{
    "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
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
type
enum<string> 
required
Allowed values:
emailphone
Default:
email
Example:
email
Body Params application/x-www-form-urlencoded
code
string 
required
Example:
JGFyZ29uMmlkJHY9MTkkbT02NTUzNix0PTMscD00JEU1ajdPWE5VSU9kdjNJdGJlQmNkOUEkU21aTDJRRjNvdjJqNnB3c3JYNHo3VWV4Qy93K2pTNTFUVzN2SHZ4TnhoVQ
resend
boolean 
optional
Example:
true

Responses

🟢202Account Verified
application/json
Body
data
object 
required
id
string 
required
email
string 
required
walletAddress
null 
required
firstName
string 
required
lastName
string 
required
role
string 
required
avatar
null 
required
bio
null 
required
phone
null 
required
verified
boolean 
required
createdAt
string 
required
updatedAt
string 
required
locationId
null 
required
status
string 
required
message
string 
required
code
integer 
required
Previous
Register
Next
Logout
Built with