Skip to main content

Set project settings

POSThttps://api.moralis-streams.com/settings

Set the settings for the current project based on the project api-key.

BODY PARAM
regionstringrequired
The region from where all the webhooks will be posted for this project
Responses
API KEY
import Moralis from "moralis";

try {
await Moralis.start({
apiKey: 'YOUR_API_KEY',
// ...and any other configuration
});

const { result } = await Moralis.Streams.readSettings();

console.log(result);
} catch (e) {
console.error(e);
}
Response Example