Skip to main content
POST
/
verify
curl -X POST https://api-verifier-2.onrender.com/verify \
  -H "Authorization: Bearer <your-token>"
{
  "status": "authorized",
  "user": {
    "firstName": "John",
    "lastName": "Doe",
    "username": "johndoe",
    "email": "user@example.com",
    "role": "user",
    "profilePic": "https://example.com/profile.jpg",
    "country": "USA",
    "city": "New York",
    "passportId": "AB123456",
    "phoneNumber": "+1234567890",
    "address": "123 Main St",
    "profileVerification": {
      "requiresReview": false,
      "status": "verified",
      "rejectionReason": null
    },
    "verification": {
      "overall": "fully_verified",
      "email": {
        "verified": true,
        "verifiedAt": "2024-12-10T10:00:00.000Z"
      },
      "identity": {
        "verified": true,
        "verifiedAt": "2024-12-11T15:30:00.000Z"
      }
    },
    "likedPosts": [],
    "createdAt": "2024-01-15T10:30:00.000Z"
  }
}
This endpoint requires authentication. Include your JWT token in the request.

Response

status
string
Authorization status (“authorized” or “unauthorized”)
user
object
User information (only if authorized)
curl -X POST https://api-verifier-2.onrender.com/verify \
  -H "Authorization: Bearer <your-token>"
{
  "status": "authorized",
  "user": {
    "firstName": "John",
    "lastName": "Doe",
    "username": "johndoe",
    "email": "user@example.com",
    "role": "user",
    "profilePic": "https://example.com/profile.jpg",
    "country": "USA",
    "city": "New York",
    "passportId": "AB123456",
    "phoneNumber": "+1234567890",
    "address": "123 Main St",
    "profileVerification": {
      "requiresReview": false,
      "status": "verified",
      "rejectionReason": null
    },
    "verification": {
      "overall": "fully_verified",
      "email": {
        "verified": true,
        "verifiedAt": "2024-12-10T10:00:00.000Z"
      },
      "identity": {
        "verified": true,
        "verifiedAt": "2024-12-11T15:30:00.000Z"
      }
    },
    "likedPosts": [],
    "createdAt": "2024-01-15T10:30:00.000Z"
  }
}