Skip to content

User Lookup

Look Up a User

Look up an Academia user by phone number. Use this to confirm the user's identity before making a deposit.

Endpoint: GET /user-lookup?phone={phone_number}

Request

bash
curl -X GET "https://api.academia.ly/api/v1/reseller/user-lookup?phone=0912345678" \
  -H "Authorization: Bearer {token}"
ParameterTypeRequiredDescription
phonestring (query)YesThe user's phone number

Response

User found (200):

json
{
  "data": {
    "first_name": "Foulen",
    "status": "active"
  }
}
FieldTypeDescription
data.first_namestringUser's first name --- use this to confirm identity with the customer
data.statusstring"active" or "inactive"

TIP

Always confirm the first name with the customer at your terminal before proceeding with a deposit. For example: "Is the account holder named Foulen?"

User not found (404):

json
{
  "message": "User not found."
}

Errors

StatusMeaning
401Invalid or expired token
403IP not whitelisted
404No user found with this phone number

WARNING

Do not proceed with a deposit if the user lookup returns "status": "inactive". The deposit will be rejected.

Academia API Integration Documentation