API Module SpamExperts generateSeLoginUrlRequest

From Openprovider API documentation

Jump to: navigation, search


Module SpamExperts > Generate Login URL

Module SpamExperts
Command name generateSeLoginUrlRequest
Use Returns an url that can be used for logging in to the SpamExperts control panel. If you want you can whitelabel the hostname by taking the auth at the end of the URL and replacing the part in front of it by your own URL, as long as it leads to our platform via DNS.
  • domainOrEmail
  • bundle (0 or 1. If you use the new, individually purchased, filters then set this to 0. If you use the old bundled variant, then set this to 1.)
  • url


Using PHP class

$request = new OP_Request;
  ->setAuth(array('username' => 'username', 'password' => 'password'))
    'domainOrEmail' => 'newfilter.nl',
    'bundle' => '1',


Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.

<?xml version="1.0" encoding="UTF-8"?>

<?xml version="1.0" encoding="UTF-8"?>
    < code>0</code>
Personal tools