How to setup OpenAPI
Setup configuration file
The configuration file is located in the config
directory.
cp config/example.default.ini default.ini
Link OpenAPI to SMSWithoutBorders developer’s console
In the configuration file default.ini
, the section DEVELOPER
is to setup SMSWithoutBorders developer’s console.
HOST: The url pointing to SMSWithoutBorders developer’s console (without port number)
PORT: The port number SMSWithoutBorders developer’s console connects to.
VERSION: The version number of SMSWithoutBorders developer’s console you’re trying to connect to. Prefix the version number with a “v”. Example v1, v2, e.t.c
Setup access credentials
Access credentials are found in the root directory of the repository named setup.ini
.
cp example.setup.ini setup.ini
Note
The values of your access credentials most match those of the SMSWithoutBorders developer’s console you’re connecting to else connection will be denied.