Reseller integration URLs

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.

Signup and login URLs

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

https://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:

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

Parameters

  • <language-id> - replace this with supported language code
  • <reseller-id> - replace this with your reseller id

Example

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

https://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

  • <domain-name> - replace this with yourdomain.tld (without www)
  • <language-id> - replace this with supported language code

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:

  • type - equals to SITE or DOMAIN and tells whether user is buying site subscription or additional domain
  • domain - contains domain name that the new user has selected, if any
  • website - contains website account id so that you know which customer is making a purchase

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:

  • event - event type, equals to SIGNUP
  • website - contains website account id for which the event is taking place

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=SIGNUP&website=1234