Connect
The "Connect" endpoint is a crucial part of the MPSMS API, as it allows clients to authenticate and start a session to perform various operations.
Request Parameters
To use the "Connect" endpoint, the client needs to provide the following required parameters in the request body:
clientcode
This is a string representing the unique client code assigned to the user. The client code is used to identify the specific client or account that is trying to access the MPSMS API.
accesscode
This is a UUID (Universally Unique Identifier) that represents the access code obtained from the MPSMS Console. The access code is a unique token that grants the client permission to access the MPSMS API. Users need to visit the MPSMS Console and log in to their account to obtain the necessary access code.
trackid
This is another UUID that represents a unique identifier for the current request. The track ID is used to track and identify the specific request being made to the MPSMS API, which can be helpful for logging, debugging, and troubleshooting purposes.
Authentication and Session Management
By providing these required parameters, the client can authenticate with the MPSMS API and start a session. Once the "Connect" endpoint successfully processes the request, the client will be able to perform other operations within the MPSMS API, such as topup and check-balance.
It's important to note that the MPSMS Console is a web-based application that allows users to manage their MPSMS accounts and obtain the necessary access codes to interact with the MPSMS API. Users need to enable JavaScript in their web browsers to run the MPSMS Console application.