App

An app is the test environment or the live environment of your TalkJS project. These endpoints let you change app metadata:

All resource URLs below include an {appId}, which you can find on the Settings page of your TalkJS dashboard.

GETPUT/v1/{appId}

Getting app metadata

GET/v1/{appId}
1type App = {
2 id: string;
3 custom?: { [name: string]: string };
4 defaultLocale?: string;
5};

Changing app metadata

PUT/v1/{appId}
1{
2 id?: string,
3 custom?: Map<string, string>,
4 defaultLocale?: string
5}

All the parameters in the payload are optional.

Note that id can't be changed. If given, the id must correspond to the appId found in the URL.