Developer Center


You can use this action to check/verify the email and password of any customer registered in WISECP.

Method / Endpoint

POST/ {{API_URL}} Clients/ValidateClient

Request Parameters

Parameter Name Type Description
email String E-mail Address of the Client
password String Password of the Client

External Sample

curl --location '' \
--header 'Content-Type: application/json' \
--header 'Apikey: [YOUR_API_KEY]' \
--data-raw '{
    "email": "[email protected]",
    "password": "test123"

Internal Sample

try {
    $result = Api::Clients()->ValidateClient([
        "email"     => "[email protected]",
        "password"  => "test123",

catch (Exception $e)
    echo 'Error: '.$e->getMessage();

Sample JSON Response

    "status": "successful",
    "data": {
        "user_id": 19,
        "hash": "ZmozNFdUNy8wMGM4bkVKK01IeUF5d2tSNzU0d1E1VThLZUJmZXNzdVNkK2dvWEgwdmdOTDE4YldmMzFCTVdheVY3bjhRTDBxSVNOb1FXcjBhVEhiTlE9PQ=="

Response Parameters

Parameter Name Type Description
status String Action Status "successful" or "error"
message String Error message if the action status is "error"
data.user_id Integer Client's ID information
data.hash String Client's password hash value

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel