[{"data":1,"prerenderedAt":232},["ShallowReactive",2],{"docs-navigation":3,"docs:\u002Fdocs\u002Fportal\u002Fwebhook":84,"docs-surround:\u002Fdocs\u002Fportal\u002Fwebhook":227},[4,18,43,71],{"title":5,"path":6,"stem":7,"children":8,"page":17},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[9,13],{"title":10,"path":11,"stem":12},"Initial Setup","\u002Fdocs\u002Fgetting-started\u002Finitial-setup","docs\u002F1.getting-started\u002F1.initial-setup",{"title":14,"path":15,"stem":16},"Customer Link","\u002Fdocs\u002Fgetting-started\u002Fcustomer-link","docs\u002F1.getting-started\u002F2.customer-link",false,{"title":19,"path":20,"stem":21,"children":22,"page":17},"Portal","\u002Fdocs\u002Fportal","docs\u002F2.portal",[23,27,31,35,39],{"title":24,"path":25,"stem":26},"Users and Roles","\u002Fdocs\u002Fportal\u002Fusers","docs\u002F2.portal\u002F1.users",{"title":28,"path":29,"stem":30},"Brand and Redirect URLs","\u002Fdocs\u002Fportal\u002Fbrand","docs\u002F2.portal\u002F2.brand",{"title":32,"path":33,"stem":34},"API Keys","\u002Fdocs\u002Fportal\u002Fapi-keys","docs\u002F2.portal\u002F3.api-keys",{"title":36,"path":37,"stem":38},"Webhook","\u002Fdocs\u002Fportal\u002Fwebhook","docs\u002F2.portal\u002F4.webhook",{"title":40,"path":41,"stem":42},"Vehicle Config","\u002Fdocs\u002Fportal\u002Fvehicle-config","docs\u002F2.portal\u002F5.vehicle-config",{"title":44,"path":45,"stem":46,"children":47,"page":17},"API","\u002Fdocs\u002Fapi","docs\u002F3.api",[48,52,56,60,64,67],{"title":49,"path":50,"stem":51},"Introduction","\u002Fdocs\u002Fapi\u002Fintroduction","docs\u002F3.api\u002F1.introduction",{"title":53,"path":54,"stem":55},"Consented Products","\u002Fdocs\u002Fapi\u002Fproducts","docs\u002F3.api\u002F2.products",{"title":57,"path":58,"stem":59},"Vehicles and Energy Sites","\u002Fdocs\u002Fapi\u002Fvehicles-and-energy-sites","docs\u002F3.api\u002F3.vehicles-and-energy-sites",{"title":61,"path":62,"stem":63},"Streaming","\u002Fdocs\u002Fapi\u002Fstreaming","docs\u002F3.api\u002F4.streaming",{"title":36,"path":65,"stem":66},"\u002Fdocs\u002Fapi\u002Fwebhook","docs\u002F3.api\u002F5.webhook",{"title":68,"path":69,"stem":70},"Errors and Limits","\u002Fdocs\u002Fapi\u002Ferrors-and-limits","docs\u002F3.api\u002F6.errors-and-limits",{"title":72,"path":73,"stem":74,"children":75,"page":17},"About","\u002Fdocs\u002Fabout","docs\u002F99.about",[76,80],{"title":77,"path":78,"stem":79},"Terms Of Service","\u002Fdocs\u002Fabout\u002Fterms","docs\u002F99.about\u002F2.terms",{"title":81,"path":82,"stem":83},"Privacy Policy","\u002Fdocs\u002Fabout\u002Fprivacy","docs\u002F99.about\u002F3.privacy",{"id":85,"title":36,"body":86,"description":221,"extension":222,"meta":223,"navigation":224,"path":37,"seo":225,"stem":38,"__hash__":226},"docs\u002Fdocs\u002F2.portal\u002F4.webhook.md",{"type":87,"value":88,"toc":215},"minimark",[89,102,108,113,177,180,183,187,197,201,208],[90,91,92,93,98,99,101],"p",{},"Your business has one webhook. Teslemetry posts telemetry from every vehicle your customers share with you to its URL. You set it on the ",[94,95,36],"a",{"href":96,"external":97},"\u002Fportal\u002Fwebhook",""," page, or with the ",[94,100,44],{"href":65},".",[90,103,104,105,101],{},"A vehicle sends telemetry only for the fields in its streaming configuration. See ",[94,106,107],{"href":41},"Vehicle config",[109,110,112],"h2",{"id":111},"settings","Settings",[114,115,116,141,155,165,171],"ul",{},[117,118,119,123,124,128,129,132,133,136,137,140],"li",{},[120,121,122],"strong",{},"URL"," - where Teslemetry posts each message. It must be reachable from the internet: ",[125,126,127],"code",{},"localhost",", ",[125,130,131],{},".local"," names and private or reserved IP addresses are refused. ",[125,134,135],{},"https:\u002F\u002F"," is recommended; ",[125,138,139],{},"http:\u002F\u002F"," is allowed, but delivery is then unencrypted.",[117,142,143,146,147,150,151,154],{},[120,144,145],{},"Authorization header"," - optional. Sent as the ",[125,148,149],{},"Authorization"," header with every message, for example ",[125,152,153],{},"Bearer \u003Cyour secret>",". Use it to check that a message came from Teslemetry. It is never shown again after you save.",[117,156,157,160,161,101],{},[120,158,159],{},"Format"," - Teslemetry, Tesla or Splunk HEC. See ",[94,162,164],{"href":163},"\u002Fdocs\u002Fapi\u002Fwebhook#payloads","Webhook payloads",[117,166,167,170],{},[120,168,169],{},"Enabled"," - turn delivery off without deleting the webhook.",[117,172,173,176],{},[120,174,175],{},"Verify certificate"," - check the TLS certificate of your URL. Leave it on unless your server uses a self-signed certificate.",[90,178,179],{},"Saving replaces the whole webhook, including its Authorization header. To keep a header, enter it again; leave the field empty to remove it.",[90,181,182],{},"Only admins can change or delete the webhook.",[109,184,186],{"id":185},"last-delivery","Last delivery",[90,188,189,190,192,193,196],{},"The ",[120,191,186],{}," card shows the outcome of the most recent delivery to the saved webhook: delivered or the failure reason, with the HTTP status when there was one, and when it was sent. It also shows the time of the last success, the number of consecutive failures, and the last error message while deliveries are failing. It says when the webhook is disabled, and shows ",[120,194,195],{},"No deliveries yet."," until the first delivery is recorded.",[109,198,200],{"id":199},"delivery","Delivery",[90,202,203,204,207],{},"Each message is sent once, as an HTTP ",[125,205,206],{},"POST"," with a JSON body. If your server is down or answers with an error, that message is not sent again. Teslemetry does not disable a business webhook after failed deliveries.",[90,209,210,211,101],{},"Delivery for a product stops when the customer stops sharing it, or when you ",[94,212,214],{"href":213},"\u002Fdocs\u002Fapi\u002Fproducts#removing-a-product","remove it",{"title":97,"searchDepth":216,"depth":216,"links":217},2,[218,219,220],{"id":111,"depth":216,"text":112},{"id":185,"depth":216,"text":186},{"id":199,"depth":216,"text":200},"Receiving telemetry from your customers' vehicles at your own URL.","md",{},true,{"title":36,"description":221},"-aSp7scXYMg0FHpUGjp9lulnG9yPUDNq2ENxvEph2N4",[228,230],{"title":32,"path":33,"stem":34,"description":229,"children":-1},"Creating and revoking the keys your apps use to read your customers' data.",{"title":40,"path":41,"stem":42,"description":231,"children":-1},"The data fields each newly shared vehicle streams to you.",1791455699626]