Skip to main content
Version: 2.0

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"
});

const response = Moralis.Streams.setSettings({});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
{
"region": ""
}