Base URL

Base URL is the main URL to a web service, which should be used for every module and remote procedure in an app, for example: https://mywebservice.com/api/v1.

Make sure that the base URL is a production endpoint with a domain that belongs to the app itself.

Apps with development or staging URLs, or apps with a domain belonging to a cloud computing service, will not be approved.

When the service has a different domain for each user, the domain should be requested in the connection and then the value should be used in the Base tab.

Correct Base URL examples

An example from the Mailerlite app:

{
    "baseUrl": "https://api.mailerlite.com/api/v2"
}

Incorrect Base URL examples

{
    "baseUrl": "https://mydomain.freshsales.io"
}

The "mydomain" should be a variable used from the Connection.

Using the Base URL

All of the modules should build on top of baseURL from the Base section (starting with a forward slash /). It is very unlikely that a single module will need to have a completely different URL than the rest.

The underlined part, which is the same for each module, should be in the Base tab.

Last updated