API User kết nối đến MePuzz

API Url: https://api.mepuzz.com/v1/{app_code}/subscribe

 

Header: {

            Accept: application/json,

            token:{ token }

}

 

@method: POST,

@params: {

email => required, // Địa chỉ Email,

    name => optional, // Tên

    phone => optional, // Số điện thoại

event => optional // Sự kiện

}

@response:

            Success:

            {

                        “success”: 0,

                        “message”: “Success”

}

----------------

Fail:

{

             “err”: 1,

             “message”: “Error Token !”

}

-----OR-----

{

             “err”: 1,

             “message”: “Email Required ”

}

           

            -----OR-----

{

             “err”: 1,

             “message”: “Code False ”

}

-----OR-----

{

             “err”: 1,

             “message”:  “Email already exists ”

}

-----OR-----

            {

                        “err”: 1,

                        “message”: “Application not found!”

}