API ReferenceStreamsUpdate streamUpdate streamPOSThttps://api.moralis-streams.com/streams/evm/:idUpdates a specific evm stream.PATH PARAMSidstringrequiredThe id of the stream to updateBODY PARAMRequest BodyobjectrequiredProvide a Stream Model{ "webhookUrl": "string", "description": "string", "tag": "string", "topic0": [], "allAddresses": false, "includeNativeTxs": false, "includeContractLogs": false, "includeInternalTxs": false, "includeAllTxLogs": false, "getNativeBalances": [], "abi": "string", "advancedOptions": "string", "chainIds": [], "filterPossibleSpamAddresses": false, "demo": false, "triggers": [] }Responses200Ok400Bad Request404Not Found429Too Many Requests500Internal Server ErrorAPI KEYTest Live APIcURLNode.jsPythonGoPHPcurl --request POST \ --url 'https://api.moralis-streams.com/streams/evm/%3Aid' \ --header 'accept: application/json' \ --header 'X-API-Key: YOUR_API_KEY' \ --header 'content-type: application/json' \ --data '{ "webhookUrl": "string", "description": "string", "tag": "string", "allAddresses": false, "includeNativeTxs": false, "includeContractLogs": false, "includeInternalTxs": false, "includeAllTxLogs": false, "abi": "string", "advancedOptions": "string", "filterPossibleSpamAddresses": false, "demo": false}'// Node.js v18+ has native fetch support// No additional dependencies requiredconst options = { method: 'POST', headers: { accept: 'application/json', 'content-type': 'application/json', 'X-API-Key': 'YOUR_API_KEY' }, body: JSON.stringify({ "webhookUrl": "string", "description": "string", "tag": "string", "allAddresses": false, "includeNativeTxs": false, "includeContractLogs": false, "includeInternalTxs": false, "includeAllTxLogs": false, "abi": "string", "advancedOptions": "string", "filterPossibleSpamAddresses": false, "demo": false })};fetch('https://api.moralis-streams.com/streams/evm/%3Aid', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));# Dependencies to install:# $ python -m pip install requestsimport requestsurl = "https://api.moralis-streams.com/streams/evm/%3Aid"payload = { "webhookUrl": "string", "description": "string", "tag": "string", "allAddresses": false, "includeNativeTxs": false, "includeContractLogs": false, "includeInternalTxs": false, "includeAllTxLogs": false, "abi": "string", "advancedOptions": "string", "filterPossibleSpamAddresses": false, "demo": false}headers = { "Accept": "application/json", "Content-Type": "application/json", "X-API-Key": "YOUR_API_KEY"}response = requests.request("POST", url, json=payload, headers=headers)print(response.text)package mainimport ( "fmt" "strings" "net/http" "io")func main() { url := "https://api.moralis-streams.com/streams/evm/%3Aid" payload := strings.NewReader("{\"webhookUrl\":\"string\",\"description\":\"string\",\"tag\":\"string\",\"allAddresses\":false,\"includeNativeTxs\":false,\"includeContractLogs\":false,\"includeInternalTxs\":false,\"includeAllTxLogs\":false,\"abi\":\"string\",\"advancedOptions\":\"string\",\"filterPossibleSpamAddresses\":false,\"demo\":false}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("Accept", "application/json") req.Header.Add("Content-Type", "application/json") req.Header.Add("X-API-Key", "YOUR_API_KEY") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body))}<?php// Dependencies to install:// $ composer require guzzlehttp/guzzlerequire_once('vendor/autoload.php');$client = new \GuzzleHttp\Client();$response = $client->request('POST', 'https://api.moralis-streams.com/streams/evm/%3Aid', [ 'body' => '{"webhookUrl":"string","description":"string","tag":"string","allAddresses":false,"includeNativeTxs":false,"includeContractLogs":false,"includeInternalTxs":false,"includeAllTxLogs":false,"abi":"string","advancedOptions":"string","filterPossibleSpamAddresses":false,"demo":false}', 'headers' => [ 'Accept' => 'application/json', 'X-API-Key' => 'YOUR_API_KEY', 'Content-Type' => 'application/json', ],]);echo $response->getBody();Response Example200 Ok{ "webhookUrl": "", "description": "", "tag": "", "topic0": [ "" ], "allAddresses": "", "includeNativeTxs": "", "includeContractLogs": "", "includeInternalTxs": "", "includeAllTxLogs": "", "getNativeBalances": [ { "selectors": [ "" ], "type": "" } ], "abi": "", "advancedOptions": "", "chainIds": [ "" ], "filterPossibleSpamAddresses": "", "demo": "", "triggers": [ { "type": "", "contractAddress": "", "inputs": [ "" ], "topic0": "", "callFrom": "" } ], "id": "", "statusMessage": "", "updatedAt": "", "amountOfAddresses": ""}