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

Login

POST
http://127.0.0.1:3000/api/auth/login
Maintainer:Not configured

Request

Body Params multipart/form-data

Responses

🟢202Accepted
application/json
Body

🟠422Missing Parametters
🟠422Wrong Parameters
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:3000/api/auth/login' \
--form 'email="Alena46@gmail.com"' \
--form 'password="Password123#"'
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,
    "token": "string"
}
Modified at 2025-05-17 16:15:54
Previous
Google Callback
Next
Register
Built with