This documentation explains how Mozello resellers can integrate Mozello with their websites and systems to provide seamless user experience. Before you can use any of this, you must become an approved Mozello reseller.


Reseller integration URLs

Signup and login URLs

This is the signup address where you shall redirect new users:

http://www.mozello.com/<language-id>/session/signup/params/reseller/<reseller-id>/

This is the login address where your users can log in to website editor:

http://www.mozello.com/<language-id>/session/login/params/reseller/<reseller-id>/

Parameters

Example

If your reseller id is 777 and you want English user interface, your login link would be

http://www.mozello.com/en/session/login/params/reseller/777/

Signup and login URLs (with custom domain)

For custom domain to work, you must first set up custom domain.

This is the signup address where you shall redirect new users:

http://backend.<domain-name>/<language-id>/session/signup/

This is the login address where your users can log in to website editor:

http://backend.<domain-name>/<language-id>/session/login/

Parameters

Example

If your custom domain is example.com and you want English user interface, your login link would be

http://backend.example.com/en/session/login/

Order URL

This is HTTP address to a page on your website where your users will be redirected to when they click Buy button. You can set it via settings API. It will receive following GET parameters:

Example

You specify the following URL

http://www.example.com/order/

Mozello will redirect to

http://www.example.com/order.php?type=SITE&domain=example.com&website=1234

Notification URL

This is HTTP address to a script in your system that will be called by Mozello when an event, such as new user registration, takes place. You can set it via settings API. It will receive following parameters:

This is useful if you want to override Mozello notification e-mails and replace them with your own. If this URL is not set, then Mozello will take care of sending e-mail notifications to your users.

Example

You specify the following URL

http://www.example.com/api/notify.php

Mozello will call the following

http://www.example.com/api/notify.php?event=WELCOME&id=1234&email=my@email.com