Home > @modelo.io/api > ModeloAPIConfig

ModeloAPIConfig type

The initialization information of API. It requires "endpoint", the URL of the backend server, e.g., https://build-portal.modeloapp.com for Modelo public cloud service, and "appToken", the secret token to access the backend data. The token can be found on build's admin page. Check out the programming guide for more details about the app token.

Signature:

export declare type ModeloAPIConfig = {
    endpoint: string;
    appToken: string;
};