---
updatedAt: 2026-06-12T20:32:56.000Z
agentTools:
  projectIndex: https://pandascrow.readme.io/llms.txt
---

# Log In

Authenticate an existing user and return an access token.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "v3-pandascrow",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://sandbox.pandascrow.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Token",
        "x-default": "pandascrow_internal_key_90482jf2jsdfu9234uhfwjlsd09fuw34928"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/login": {
      "post": {
        "summary": "Log In",
        "description": "Authenticate an existing user and return an access token.",
        "operationId": "login",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "status": true,
                      "data": {
                        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3ODEyOTUwNDMsImV4cCI6MTc4MTI5ODY0MywiZGF0YSI6eyJ1c2VyX2lkIjoxLCJlbWFpbCI6ImRldnRvbTB4QGdtYWlsLmNvbSIsInV1aWQiOiJhYTU0ODhjZi0wYzBiLTRhNzctYWY4YS1hZmE1YmVhY2IyYjAiLCJzZXNzaW9uX3Rva2VuIjoiZjk3YWIwNWFkNDcxMTgyNmViYmYzMzAxMzY4NTJmYzRhMjFhZDQ2YTVjNjdhOWEzNzNhOGU0NTZhM2U3OTZiYiJ9fQ.SBFdoIJ6C-M2qDmJtF4AWy9GGmekdzeiZUuy1CdtYdw",
                        "user": {
                          "_id": 1,
                          "uuid": "aa5488cf-0c0b-4a77-af8a-afa5beacb2b0",
                          "name": "Precious Tom",
                          "email": "devtom0x@gmail.com",
                          "phone": "+234802132xxxx",
                          "username": "TVOR5U",
                          "gender": "male",
                          "date_of_birth": "1990-01-01",
                          "country_id": 156,
                          "state": "Rivers",
                          "address": "ABC, Cornerstone, NTA",
                          "last_login_at": "2026-06-12 19:55:54",
                          "last_login_ip": "127.0.0.1",
                          "timezone": "Africa/Lagos",
                          "ref_user": null,
                          "is_login_otp": 1,
                          "is_2fa": 0,
                          "is_onboarded": 1,
                          "is_deactivated": 0,
                          "is_subaccount": 0,
                          "is_password_update": 0,
                          "requires_password_update": 0,
                          "parent_uuid": null,
                          "deactivation_message": null,
                          "created_at": "2026-05-20 09:58:34",
                          "updated_at": "2026-06-12 19:55:54",
                          "deleted_at": "2026-05-20 11:14:57",
                          "is_verified": false
                        },
                        "compliance_status": false
                      }
                    }
                  },
                  "OK": {
                    "summary": "OK",
                    "value": {
                      "status": true,
                      "data": {
                        "message": "OTP required to complete login. Please check your email.",
                        "otp_required": true
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "token": {
                          "type": "string",
                          "example": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTE3OTA1MzgsImV4cCI6MTc1MTc5NDEzOCwiZGF0YSI6eyJ1c2VyX2lkIjoxLCJlbWFpbCI6InRvbXByZXppbmVAZ21haWwuY29tIiwidXVpZCI6ImNiZjFlZmNjLWY4MjQtNGIyMS1iOGNiLWVmZTdiY2FhMDcyMSJ9fQ.L8YQdnfXLvIduxjaBQebwyX51F2ehq-zGPqztgW28jc"
                        },
                        "user": {
                          "type": "object",
                          "properties": {
                            "_id": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "uuid": {
                              "type": "string",
                              "example": "cbf1efcc-f824-4b21-b8cb-efe7bcaa0721"
                            },
                            "name": {
                              "type": "string",
                              "example": "Precious Tom"
                            },
                            "email": {
                              "type": "string",
                              "example": "tomprezine@gmail.com"
                            },
                            "phone": {},
                            "username": {},
                            "gender": {},
                            "date_of_birth": {},
                            "country_id": {},
                            "state": {},
                            "address": {},
                            "last_login_at": {
                              "type": "string",
                              "example": "2025-07-06 08:17:20"
                            },
                            "last_login_ip": {},
                            "timezone": {
                              "type": "string",
                              "example": "UTC"
                            },
                            "is_onboarded": {},
                            "is_deactivated": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "is_subaccount": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "is_password_update": {
                              "type": "integer",
                              "example": 0,
                              "default": 0
                            },
                            "parent_uuid": {},
                            "created_at": {
                              "type": "string",
                              "example": "2025-07-06 07:17:20"
                            },
                            "updated_at": {
                              "type": "string",
                              "example": "2025-07-06 07:17:20"
                            },
                            "deleted_at": {},
                            "is_verified": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            }
                          }
                        },
                        "compliance_status": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": {
                      "status": false,
                      "data": {
                        "message": "Incorrect login credential",
                        "doc_url": "https://pandascrow.readme.io/reference/login"
                      }
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "Incorrect password"
                        },
                        "doc_url": {
                          "type": "string",
                          "example": "https://pandascrow.readme.io/reference/login"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```