An overview of Email Application API
Sometimes it is useful to have a one-click login URL so that users can login to their Sasta Mai dashboard without having to enter their username or password. User can just click on a one-time login link to get logged in to the web UI. It is especially helpful when you use Sasta Mail with another application and you do not want to have your users enter their username or password twice. And you do not want to employ a complicated authentication mechanism like SSO (Single Sign-on). Then using a one-click login URL comes in handy.
Parameters
api_token
string
Your API token. You can find it in your API main page when logged in.
$client = new Acelle\Client(
'https://app.sastamail.com/api/v1',
'*|api_token|*'
);
$client->loginToken();
{
"token": "8vunPVPUDBMGYOEk9",
"url": "https://app.sastamail.com/login/token/8vunPVPUDBMGYOEk9"
}