Public
Documentation Settings

api-ypwAccount

API YPW Account - It is an API to use the YPW account ecosystem, with management and creation of keys for developers, handling and storage of data, authentication, token, and records.

YPW Account API has three main sections: data, user, and developer.

Data Section

The data section allows users to save, retrieve, update, and delete data in a key-value JSON or string format. Here are the available routes:

  • /account/data/get
  • /account/data/keys
  • /account/data/create
  • /account/data/remove
  • /account/data/set

User Section

The user section is for managing user accounts, settings, and authentication. Here are the available routes:

  • /account/login
  • /account/register
  • /account/getUser
  • /account/logout
  • /account/getSections
  • /account/changePassword
  • /account/setCode/email
  • /account/changePasswCode/email
  • /account/updateDataUser
  • /account/updateFieldData
  • /account/activateAccount/email

Developer Section

The developer section is for creating, updating, and deleting developer keys for applications. Here are the available routes:

  • /account/developer/create_keys
  • /account/developer/get_key
  • /account/developer/get_all_keys
  • /account/developer/update_keys
  • /account/developer/delete_key

Table of Errors

The following error codes may be returned:

  • 303 Other error
  • 304 Data not updated - Error Upate
  • 400 Operation not completed - error, regular expression case
  • 401 Incorrect username or password
  • 403 User Blocked
  • 404 Route or resource not found
  • 500 Internal Server Error

Successful Cases

The following success codes may be returned:

  • 200 Operation Completed
  • 201 Registration Completed

Author: YPW
Website: https://ypw.com.do

If you have any questions or concerns, please don't hesitate to contact us at info@ypw.com.do.

Response JSON:

json
{
    "error": boolean,
    "message": "Mensaje de respuesta.",
    "res": respuesta,
    "version": "v1.1.3"
}