{"info":{"_postman_id":"d979edfa-e6c5-4e43-809b-cdf18160d77a","name":"Flare Platform API","description":"<html><head></head><body><p>Collection of API services for the Flare Mobility Safety Intelligence platform.</p>\n<p>Please note: Your API key (Production or Sandbox) is required to access and use Flare APIs.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"16949646","collectionId":"d979edfa-e6c5-4e43-809b-cdf18160d77a","publishedId":"2s93JtP3hY","public":true,"customColor":{"top-bar":"666699","right-sidebar":"303030","highlight":"EC6568"},"publishDate":"2023-03-14T13:39:05.000Z"},"item":[{"name":"Auth","item":[{"name":"Generate Token","id":"4e7bba7f-d598-4111-ab9c-cb1b99c9d943","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"apiKey\": \"your apikey\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/getToken","description":"<p>Login and retrieve your JSON Web Token in order to authorise your API requests.</p>\n<p>Hint: Your API key(s) are stored in your Flare partner portal (<a href=\"https://partner.flaresafety.com\">https://partner.flaresafety.com</a>) or in your Flare Aware portal (<a href=\"https://aware.flaresafety.com\">https://aware.flaresafety.com</a>). Should you be unable to access these please contact your account manager or log a support case at <a href=\"https://support.flaresafety.com\">https://support.flaresafety.com</a></p>\n","urlObject":{"protocol":"https","path":["v4","getToken"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4e7bba7f-d598-4111-ab9c-cb1b99c9d943"}],"id":"816388e6-478e-4ada-a85a-a96c44eb2707","description":"<p>Retrieve your JWT token by providing your API Key (Secret) to the platform.</p>\n","_postman_id":"816388e6-478e-4ada-a85a-a96c44eb2707"},{"name":"Analysis","item":[{"name":"Scooter","item":[{"name":"Analyse Event - Core","id":"4d3ff196-3540-4c57-91b7-3ef4f2ded062","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"loc\": {\n        \"lat\": 1.23456,\n        \"lon\": 1.23456\n    },\n    \"ts\" : 1678890875,\n    \"sensors\": [\n        {\n            \"aX\": 1.23,\n            \"aY\": 1.23,\n            \"aZ\": 1.23,\n            \"gX\": 1.23,\n            \"gY\": 1.23,\n            \"gZ\": 1.23,\n            \"spd\": 4.56,\n            \"p\": -1.23,\n            \"y\": -2.34,\n            \"r\": 3.21\n        },\n        {\n            \"aX\": 1.23,\n            \"aY\": 1.23,\n            \"aZ\": 1.23,\n            \"gX\": 1.23,\n            \"gY\": 1.23,\n            \"gZ\": 1.23,\n            \"spd\": 4.56,\n            \"p\": -1.23,\n            \"y\": -2.34,\n            \"r\": 3.21\n        },\n        {\n            \"aX\": 1.23,\n            \"aY\": 1.23,\n            \"aZ\": 1.23,\n            \"gX\": 1.23,\n            \"gY\": 1.23,\n            \"gZ\": 1.23,\n            \"spd\": 4.56,\n            \"p\": -1.23,\n            \"y\": -2.34,\n            \"r\": 3.21\n        },\n        {\n            \"aX\": 1.23,\n            \"aY\": 1.23,\n            \"aZ\": 1.23,\n            \"gX\": 1.23,\n            \"gY\": 1.23,\n            \"gZ\": 1.23,\n            \"spd\": 4.56,\n            \"p\": -1.23,\n            \"y\": -2.34,\n            \"r\": 3.21\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/incidents/analyse/scooter/core/v1","description":"<p>Provide 2 seconds of raw sensor telemetry for analysis by Flare platform for incidents. Recommended that the sensor data is at 10hz, therefore 20 readings for 2 seconds.</p>\n<p>Note: This is the Core model - designed for scooters that only have onboard accelerometer data.</p>\n","urlObject":{"protocol":"https","path":["v4","incidents","analyse","scooter","core","v1"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4d3ff196-3540-4c57-91b7-3ef4f2ded062"},{"name":"Analyse Event - Enhanced","id":"f9f214f1-4f04-4dcc-913e-0b3ef3e6d2bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.flaresafety.com/v4/incidents/analyse/scooter/enhanced/v1","description":"<p>Provide 2 seconds of raw sensor telemetry for analysis by Flare platform for incidents. Recommended that the sensor data is at 10hz, therefore 20 readings for 2 seconds.</p>\n<p>Note: This is the Enhanced model - designed for scooters that have onboard accelerometer and gyroscope data.</p>\n","urlObject":{"protocol":"https","path":["v4","incidents","analyse","scooter","enhanced","v1"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f9f214f1-4f04-4dcc-913e-0b3ef3e6d2bd"}],"id":"b9e13da3-4642-4252-9960-a2a07cf017dd","description":"<p>This endpoint offers analysis optimised for scooter use cases.</p>\n","_postman_id":"b9e13da3-4642-4252-9960-a2a07cf017dd"},{"name":"Bike","item":[{"name":"Analyse Event","id":"54cb12d4-4404-40b3-8b2c-0480698b846b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.flaresafety.com/v4/incidents/analyse/bike/v1","description":"<p>Provide 2 seconds of raw sensor telemetry for analysis by Flare platform for incidents. Recommended that the sensor data is at 10hz, therefore 20 readings for 2 seconds.</p>\n","urlObject":{"protocol":"https","path":["v4","incidents","analyse","bike","v1"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"54cb12d4-4404-40b3-8b2c-0480698b846b"}],"id":"e4e8b4d7-8065-4173-ac13-6803da2c45d6","description":"<p>This endpoint offers analysis optimised for cycling use cases</p>\n","_postman_id":"e4e8b4d7-8065-4173-ac13-6803da2c45d6"},{"name":"Automotive","item":[],"id":"0ddce4b8-41c1-409d-afa5-5b067916c76a","description":"<p>This endpoint offers analysis optimised for automative use cases.</p>\n<p>Note: Please speak to sales regarding automotive use cases.</p>\n","_postman_id":"0ddce4b8-41c1-409d-afa5-5b067916c76a"},{"name":"Pedestrian","item":[{"name":"Analyse Event","id":"13d74643-2c18-4bc2-bf97-b6691af10e15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.flaresafety.com/v4/incidents/analyse/pedestrian/v1","description":"<p>Provide 2 seconds of raw sensor telemetry for analysis by Flare platform for incidents. Recommended that the sensor data is at 10hz, therefore 20 readings for 2 seconds.</p>\n","urlObject":{"protocol":"https","path":["v4","incidents","analyse","pedestrian","v1"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"13d74643-2c18-4bc2-bf97-b6691af10e15"}],"id":"49b3695d-742e-44c0-91fe-f9f0b45791aa","description":"<p>Use this endpoint for pedestrian use cases where the user is on foot.</p>\n<ul>\n<li>Walking</li>\n<li>Running</li>\n</ul>\n","_postman_id":"49b3695d-742e-44c0-91fe-f9f0b45791aa"},{"name":"Retrieve Incidents","id":"c833be1e-1b30-4a5b-8225-a7388581c993","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"?lat&lon&radius&userId","description":"<p>List all recorded incidents for a given user or a specific location.</p>\n","urlObject":{"query":[{"description":{"content":"<p>Latitude</p>\n","type":"text/plain"},"key":"lat","value":null},{"description":{"content":"<p>Longitude</p>\n","type":"text/plain"},"key":"lon","value":null},{"description":{"content":"<p>The radius to search (meters)</p>\n","type":"text/plain"},"key":"radius","value":null},{"description":{"content":"<p>User ID</p>\n","type":"text/plain"},"key":"userId","value":null},{"disabled":true,"description":{"content":"<p>Partner ID</p>\n","type":"text/plain"},"key":"partnerId","value":null}],"variable":[]}},"response":[],"_postman_id":"c833be1e-1b30-4a5b-8225-a7388581c993"}],"id":"9bbdc645-db0c-4454-bc98-8682827e6815","description":"<p>Collection of Incident APIs</p>\n","_postman_id":"9bbdc645-db0c-4454-bc98-8682827e6815"},{"name":"Hazards","item":[{"name":"Retrieve Hazards","id":"c248e291-6011-4f47-87f1-b24acd14021a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/partner/hazard?lat=1.23456&lon=1.23456&type=Ice&radius=5000","urlObject":{"protocol":"https","path":["v4","partner","hazard"],"host":["api","flaresafety","com"],"query":[{"key":"lat","value":"1.23456"},{"key":"lon","value":"1.23456"},{"key":"type","value":"Ice"},{"description":{"content":"<p>default 2000, max 25000 in meters (optional)</p>\n","type":"text/plain"},"key":"radius","value":"5000"}],"variable":[]}},"response":[],"_postman_id":"c248e291-6011-4f47-87f1-b24acd14021a"},{"name":"Create a hazard","id":"7053d828-2258-4821-9a72-ce94c8b11e41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"lat\": 1.2345,\n    \"lon\": 4.5678,\n    \"type\": \"Ice\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/hazard","description":"<p>Create a hazard to display to all nearby Flare users.</p>\n<p>Types are:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Hazard Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>pothole</td>\n<td>A pothole in the road that could affect the safety of a rider</td>\n</tr>\n<tr>\n<td>debris</td>\n<td>Debris that is likely to cause harm or cause a user to alter their travel in an unsafe way</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["v4","partner","hazard"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7053d828-2258-4821-9a72-ce94c8b11e41"},{"name":"Remove a hazard","id":"af72cd29-80c9-453b-bdb5-6dc152704864","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/hazard?id=","urlObject":{"protocol":"https","path":["v4","partner","hazard"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>hazardId</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"af72cd29-80c9-453b-bdb5-6dc152704864"}],"id":"8acb0a40-a03c-4658-b214-fa9b625bac33","description":"<p>Collection of Hazard APIs</p>\n","_postman_id":"8acb0a40-a03c-4658-b214-fa9b625bac33"},{"name":"SOS","item":[{"name":"Create an SOS request","id":"b71112f0-9990-4b4f-b2ae-510ba61e2c2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"userId\": \"userId\",\n    \"lat\": 32.343434,\n    \"lon\": 72.232232,\n    \"endLatitude\": 35.232323,\n    \"endLongitude\": 75.333222\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/sos","description":"<p>Creates an active SOS event and returns the SOS ID</p>\n","urlObject":{"protocol":"https","path":["v4","partner","sos"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b71112f0-9990-4b4f-b2ae-510ba61e2c2b"},{"name":"Upload SOS audio","id":"38072edd-24ab-47b0-8173-1662cc88a794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"sosId\": \"sosId\",\r\n    \"base64String\": \"base64 audio\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/sosAudio","description":"<p>Submit an audio recording (MP3) to be added to an SOS event.</p>\n","urlObject":{"protocol":"https","path":["v4","partner","sosAudio"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"38072edd-24ab-47b0-8173-1662cc88a794"},{"name":"Update an SOS request","id":"cbb45c57-3ecc-4fa8-9daa-8328d01c7c19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"sosId\",\n    \"endLatitude\": 35.232323,\n    \"endLongitude\": 75.333222\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/sos","description":"<p>Manage an existing SOS record for example switching it status from active to ended.</p>\n","urlObject":{"protocol":"https","path":["v4","partner","sos"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbb45c57-3ecc-4fa8-9daa-8328d01c7c19"}],"id":"ab9ca48f-ddbc-45fd-b44d-850fc70815bc","description":"<p>Collection of SOS APIs</p>\n","_postman_id":"ab9ca48f-ddbc-45fd-b44d-850fc70815bc"},{"name":"Team Management","item":[{"name":"Invite Team","id":"a3584499-3215-452b-9944-ade67cdf634c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\" : \"markjones@flaresafety.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/team","description":"<p>Invite a user via email to your Flare team</p>\n","urlObject":{"protocol":"https","path":["v4","partner","team"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3584499-3215-452b-9944-ade67cdf634c"},{"name":"Update a Team Member","id":"ed873fff-75ff-4d43-928b-43ab5fe916b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"teamId\",\n    \"firstName\": \"Jack\",\n    \"lastName\": \"Philips\",\n    \"email\": \"markjones@flaresafety.com\",\n    \"userName\": \"markjones41447590320\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/team","urlObject":{"protocol":"https","path":["v4","partner","team"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ed873fff-75ff-4d43-928b-43ab5fe916b3"},{"name":"Remove a Team Member","id":"e195ab87-b265-4a7c-9f97-e6c0712e3029","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/team?id","description":"<p>Remove a user from your team either via their userId or their email address</p>\n","urlObject":{"protocol":"https","path":["v4","partner","team"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>partner user id (team member)</p>\n","type":"text/plain"},"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"e195ab87-b265-4a7c-9f97-e6c0712e3029"}],"id":"9a48c324-aff1-4b03-a48f-acee371be91f","description":"<p>Collection of endpoints for management of your partner account team members.</p>\n","_postman_id":"9a48c324-aff1-4b03-a48f-acee371be91f"},{"name":"Flare Aware for Vulnerable Road Users (VRUs)","item":[{"name":"Create or update VRU","id":"31b80abd-d68f-4ee7-af0d-54a70136835c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"vru/vruId\",\r\n    \"lat\": 23.343434,\r\n    \"lon\": 72.533432,\r\n    \"speed\": 3.5,\r\n    \"heading\": 101.2\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/vru","urlObject":{"protocol":"https","path":["v4","partner","vru"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"31b80abd-d68f-4ee7-af0d-54a70136835c"},{"name":"Delete VRU","id":"8b6e55d1-efac-41a5-8791-bbc28646c29e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/partner/vru?id=vru/59648844-c26c-471f-91a0-db98479d2b32","urlObject":{"protocol":"https","path":["v4","partner","vru"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>hivekit vru id</p>\n","type":"text/plain"},"key":"id","value":"vru/59648844-c26c-471f-91a0-db98479d2b32"}],"variable":[]}},"response":[],"_postman_id":"8b6e55d1-efac-41a5-8791-bbc28646c29e"}],"id":"2a5a2d9f-cfc6-4749-8858-e8d3b26db36e","description":"<p>Participate in the Flare Aware network via our HTTPS API. Here you can create, update or delete either a VRU (cyclist, motorcyclist or scooter) or a FLEET (vehicle driver).</p>\n<p>Please note: REST API does not allow for real-time notification of nearby objects, it is recommended to use our Websocket connectivity here:</p>\n","_postman_id":"2a5a2d9f-cfc6-4749-8858-e8d3b26db36e"},{"name":"Flare Aware for Fleet Operators (Vehicles)","item":[{"name":"Licence Management","item":[{"name":"Retrieve Licence File","id":"69dee4cd-2e78-489d-bb76-59e1c9d8c179","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/license/download","description":"<p>Retrieves your licence file (flareaware.lic)</p>\n","urlObject":{"protocol":"https","path":["v4","license","download"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"69dee4cd-2e78-489d-bb76-59e1c9d8c179"},{"name":"Retrieve Licence Activation Link","id":"5e5871ed-e4e0-4a58-98b7-d00301a0073e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/license/activationLink","description":"<p>Retrieve the unique activation link for your licence file that can be used by your users to automatically download the Flare Aware mobile application (if not installed) or activate your licence (if installed).</p>\n","urlObject":{"protocol":"https","path":["v4","license","activationLink"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e5871ed-e4e0-4a58-98b7-d00301a0073e"}],"id":"5018f98b-53bc-41c2-8c09-bc37ba14c9a1","_postman_id":"5018f98b-53bc-41c2-8c09-bc37ba14c9a1","description":""},{"name":"Reports","item":[{"name":"Retrieve Alert History","id":"27606924-d391-46f1-b20f-849fba0f3b98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/report","description":"<p>Retrieve the Flare Aware alert history including low bridge, hazards and nearby cyclist/motorcyclist alerts for an organisation.</p>\n","urlObject":{"protocol":"https","path":["v4","report"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"27606924-d391-46f1-b20f-849fba0f3b98"},{"name":"Retrieve Incident History","id":"c1687a2a-ac49-4ccd-b918-dad69c5c542c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/incident","urlObject":{"protocol":"https","path":["v4","incident"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1687a2a-ac49-4ccd-b918-dad69c5c542c"}],"id":"fd56c1c0-1237-4372-95d4-db62c0f5f2ac","_postman_id":"fd56c1c0-1237-4372-95d4-db62c0f5f2ac","description":""},{"name":"Flare Aware Network (Fleet)","item":[{"name":"Update Fleet Location","id":"4b4171a2-619f-429e-92ba-07281e9f3563","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"fleetId\",\r\n    \"lat\": 23.343434,\r\n    \"lon\": 72.342522\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/fleet/location","urlObject":{"protocol":"https","path":["v4","fleet","location"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b4171a2-619f-429e-92ba-07281e9f3563"}],"id":"46c8443f-c423-4aa7-a0f5-492e36d5ec23","_postman_id":"46c8443f-c423-4aa7-a0f5-492e36d5ec23","description":""},{"name":"Fleet Management","item":[{"name":"Create Fleet Asset","id":"8507dd95-cb3c-4dba-bd96-9b71e7187ba1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"lat\": 23.242424,\n    \"lon\": 72.525224,\n    \"speed\": 5.2,\n    \"heading\": 199.2,\n    \"licenseCode\": \"WMYVW65OPQ\",\n    \"deviceType\": \"Android/iOS\",\n    \"deviceId\": \"11df12r3r12\",\n    \"appVersion\": \"\",\n    \"reJoin\": true, //optional\n    \"vehicleProfile\": { //optional\n        \"driverId\": \"1jakdo1wkdl1\",\n        \"tractorId\": \"dllajakslwm1123\",\n        \"trailerId\": \"ap1l12e0333pow\",\n        \"vehicleHeightMeters\": \"5.1816\",\n        \"vehicleWeightTonne\": \"44\",\n        \"vehicleWidthMeters\": \"2.89865\",\n        \"isDriverIdFromSmartPOD\": false,\n\t    \"isTractorIdFromSmartPOD\": false,\n\t    \"isTrailerIdFromSmartPOD\": false\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/fleet","urlObject":{"protocol":"https","path":["v4","fleet"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8507dd95-cb3c-4dba-bd96-9b71e7187ba1"},{"name":"Update Fleet Asset","id":"68d3e7a9-9073-47ce-8171-5f70f3e5cc94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"fleetId\",\n    \"lat\": 23.343434,\n    \"lon\": 72.342522,\n    \"speed\": 3.4,        //optional\n    \"heading\": 102.2,    //optional\n    \"vehicleProfile\": {\n        \"driverId\": \"1jakdo1wkdl1\",\n        \"tractorId\": \"dllajakslwm1123\",\n        \"trailerId\": \"ap1l12e0333pow\",\n        \"vehicleHeightMeters\": \"5.1816\",\n        \"vehicleWeightTonnes\": \"44\",\n        \"vehicleWidthMeters\": \"2.89865\",\n        \"isDriverIdFromSmartPOD\": false,\n\t    \"isTractorIdFromSmartPOD\": false,\n\t    \"isTrailerIdFromSmartPOD\": false\n    },\n    \"protectedDistanceInMeters\": 57563.1,\n    \"permittedAlertTypes\": {\n        \"enforcedhazard\": false,\n        \"enforcedincident\": false,\n        \"enforcedlowBridge\": false,\n        \"enforcedvru\": false,\n\t    \"enforcedaudio\": false,\n\t    \"enforcedvisual\": false,\n        \"hazard\": true,\n        \"incident\": true,\n        \"lowBridge\": true,\n        \"vru\": true,\n \t    \"audio\": true,\n\t    \"visual\": true\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/fleet","urlObject":{"protocol":"https","path":["v4","fleet"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"68d3e7a9-9073-47ce-8171-5f70f3e5cc94"},{"name":"Remove Fleet Asset","id":"7816b5c4-15cd-4497-b116-2fa209801d97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/fleet?id=","urlObject":{"protocol":"https","path":["v4","fleet"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>fleetId</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"7816b5c4-15cd-4497-b116-2fa209801d97"},{"name":"List Fleet Assets","id":"b47931db-a114-40f6-928f-fff3e91675a8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/all-fleet","description":"<p>Retrieve a list of all of your fleet assets.</p>\n","urlObject":{"protocol":"https","path":["v4","all-fleet"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b47931db-a114-40f6-928f-fff3e91675a8"},{"name":"Get Fleet Asset","id":"ce966162-d3fd-491b-9410-bbd16289f91c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/fleet?id=","description":"<p>Retrieve more information on a particular asset</p>\n","urlObject":{"protocol":"https","path":["v4","fleet"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>fleetId</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"ce966162-d3fd-491b-9410-bbd16289f91c"}],"id":"4471cac4-3c9b-4e0e-bd4d-eeed5a3db14e","_postman_id":"4471cac4-3c9b-4e0e-bd4d-eeed5a3db14e","description":""},{"name":"Customer Management","item":[{"name":"Create Customer","id":"783a27dc-0576-4f82-a463-9b6910a3ddb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Jack\",\n    \"lastName\" : \"Philips\",\n    \"email\" : \"markjones@flaresafety.com\",\n    \"companyName\" : \"K-Safe Limited\",\n    \"uniqueReference\" : \"com129\" //Customer friendly reference\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/customer","urlObject":{"protocol":"https","path":["v4","customer"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"783a27dc-0576-4f82-a463-9b6910a3ddb6"},{"name":"Update Customer","id":"e0a6a3f9-dbdd-4dd4-8142-7233aa635430","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"customerId\",\n    \"firstName\": \"Jack\",\n    \"lastName\" : \"Philips\",\n    \"email\" : \"markjones@flaresafety.com\",\n    \"companyName\" : \"K-Safe Limited\",\n    \"uniqueReference\" : \"com129\" //Customer friendly reference\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/customer","urlObject":{"protocol":"https","path":["v4","customer"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e0a6a3f9-dbdd-4dd4-8142-7233aa635430"},{"name":"Remove Customer","id":"0b62bfcf-a921-45f1-ad70-6b25598d6406","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/customer?id=&acknowledgementKey=delete","description":"<p>Remove a customer using their ID. For safety the first request will return an acknowledgement key. Pass a second request with the acknowledgement key to confirm that you are certain you want to remove the customer form your tenant.</p>\n","urlObject":{"protocol":"https","path":["v4","customer"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>customerId</p>\n","type":"text/plain"},"key":"id","value":""},{"key":"acknowledgementKey","value":"delete"}],"variable":[]}},"response":[],"_postman_id":"0b62bfcf-a921-45f1-ad70-6b25598d6406"},{"name":"List Customers","id":"9cbfb520-9610-40ec-80eb-ee8c1c94566e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/customer","description":"<p>Retrieve a list of all of your fleet assets.</p>\n","urlObject":{"protocol":"https","path":["v4","customer"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9cbfb520-9610-40ec-80eb-ee8c1c94566e"},{"name":"List Customer Fleet","id":"0b989d1d-4a6b-4172-8aec-c225357e7669","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/customer/fleet?id","description":"<p>Retrieve more information on a particular asset</p>\n","urlObject":{"protocol":"https","path":["v4","customer","fleet"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>customerId</p>\n","type":"text/plain"},"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"0b989d1d-4a6b-4172-8aec-c225357e7669"}],"id":"cc62fefb-0a54-4615-be0e-51b84bd6e315","_postman_id":"cc62fefb-0a54-4615-be0e-51b84bd6e315","description":""},{"name":"Team Management","item":[{"name":"Invite Team Member","id":"042ad3d7-e417-4b72-a861-7f2da6b86795","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"acknowledgementKey","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"markjones@flaresafety.com\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/team","description":"<p>Invite a team member into your management portal</p>\n","urlObject":{"protocol":"https","path":["v4","team"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"042ad3d7-e417-4b72-a861-7f2da6b86795"},{"name":"Update a Team Member","id":"66532647-5c2d-4d82-a7ef-00a9347ec012","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"id\": \"teamId\",\n    \"firstName\": \"Jack\",\n    \"lastName\": \"Philips\",\n    \"email\": \"markjones@flaresafety.com\",\n    \"userName\": \"markjones12312312e\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/team","urlObject":{"protocol":"https","path":["v4","team"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"66532647-5c2d-4d82-a7ef-00a9347ec012"},{"name":"Remove a Team Member","id":"7e413b5d-efd6-4d8d-acca-86bda36d07f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/team?id","description":"<p>Remove a user from your team either via their userId or their email address</p>\n","urlObject":{"protocol":"https","path":["v4","team"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>team member id</p>\n","type":"text/plain"},"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"7e413b5d-efd6-4d8d-acca-86bda36d07f5"}],"id":"7cc51401-6675-49ba-924e-128a5555f10a","_postman_id":"7cc51401-6675-49ba-924e-128a5555f10a","description":""},{"name":"Profile Management","item":[{"name":"Update Profile","id":"0751db4c-ed75-468f-b1d5-b43c255909d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"Jack\",\n    \"lastName\": \"Philips\",\n    \"email\": \"markjones@flaresafety.com\",\n    \"companyName\": \"K-Safe Limited\",\n    \"companyNo\": \"555\",\n    \"phone\": \"2342343342\",\n    \"noOfVehicles\": \"1\",\n    \"addressLine1\": \"49 Jamaica Street\",\n    \"addressLine2\": \"Liverpool, Merseyside\",\n    \"city\": \"Liverpool\",\n    \"postcode\": \"L1 0AH\",\n    \"country\": \"England\",\n    \"companyType\": \"Enterprise Customer\",\n    \"profilePicture\": \"base64 image\" //optional\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/profile","description":"<p>Update your company profile</p>\n","urlObject":{"protocol":"https","path":["v4","profile"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0751db4c-ed75-468f-b1d5-b43c255909d9"}],"id":"e8c6ffca-464f-4b82-b55c-ffcc4c815df6","_postman_id":"e8c6ffca-464f-4b82-b55c-ffcc4c815df6","description":""},{"name":"Vulnerable Road Users (VRU)","item":[{"name":"Retrieve nearby VRUs","id":"7a4104cc-ab4a-430a-ad32-fbec2948b11c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/getNearByVrus?lat=23.343434&lon=72.533432&radius=500","urlObject":{"protocol":"https","path":["v4","getNearByVrus"],"host":["api","flaresafety","com"],"query":[{"key":"lat","value":"23.343434"},{"key":"lon","value":"72.533432"},{"description":{"content":"<p>default 2000 , max 25000 meters (optional)</p>\n","type":"text/plain"},"key":"radius","value":"500"}],"variable":[]}},"response":[],"_postman_id":"7a4104cc-ab4a-430a-ad32-fbec2948b11c"},{"name":"Get VRU","id":"3fc1270c-b100-466f-bbf5-7f6b784fae33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/vru?id=","urlObject":{"protocol":"https","path":["v4","vru"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>vruId</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"3fc1270c-b100-466f-bbf5-7f6b784fae33"},{"name":"Get All VRU","id":"aa7bfa28-cdcb-4a8b-b082-c4bc06dfa708","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/getAllVrus","urlObject":{"protocol":"https","path":["v4","getAllVrus"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa7bfa28-cdcb-4a8b-b082-c4bc06dfa708"}],"id":"f7d78818-20e2-4a14-95a6-8579618536c4","_postman_id":"f7d78818-20e2-4a14-95a6-8579618536c4","description":""},{"name":"Bridge Alerts","item":[{"name":"getBridgeAlert","id":"10da25f9-622e-4977-b595-e3158d7160c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/getBridgeAlert?latitude=53.4807593&longitude=-2.2426305&vehicleHeight=5&vehicleWeight=50&vehicleWidth=4.2&unit=mile&heading=15","urlObject":{"protocol":"https","path":["v4","getBridgeAlert"],"host":["api","flaresafety","com"],"query":[{"key":"latitude","value":"53.4807593"},{"key":"longitude","value":"-2.2426305"},{"key":"vehicleHeight","value":"5"},{"key":"vehicleWeight","value":"50"},{"key":"vehicleWidth","value":"4.2"},{"description":{"content":"<p>mile, km</p>\n","type":"text/plain"},"key":"unit","value":"mile"},{"key":"heading","value":"15"}],"variable":[]}},"response":[],"_postman_id":"10da25f9-622e-4977-b595-e3158d7160c4"}],"id":"4109b79d-cd1e-4f27-b9c3-42b20ac897cd","_postman_id":"4109b79d-cd1e-4f27-b9c3-42b20ac897cd","description":""}],"id":"f975f82f-23ff-4b7b-bbcf-0e25d592e7b0","description":"<p>Collection of Flare Aware APIs  </p>\n<p><strong>Note:</strong> You must be an active subscriber to the Flare Aware service to use this collection of APIs</p>\n","_postman_id":"f975f82f-23ff-4b7b-bbcf-0e25d592e7b0"},{"name":"Rider Safety","item":[],"id":"4a7ca578-1894-49ad-a053-ad0fb31a77a0","description":"<p>Retrieve and manage key information regarding rider safety across your user base.</p>\n","_postman_id":"4a7ca578-1894-49ad-a053-ad0fb31a77a0"},{"name":"Maintenance Index","item":[],"id":"00ee7e38-1735-46c4-8b54-633f2648725b","description":"<p>Retrieve and manage maintenance informaton regarding your assets.</p>\n","_postman_id":"00ee7e38-1735-46c4-8b54-633f2648725b"},{"name":"User Management","item":[{"name":"Register User","id":"a2b1b5c2-c4d4-4aad-b18e-57c7de97f84c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"markjones@flaresafety.com\",\r\n    \"password\": \"test@123\",\r\n    \"userName\": \"markjones24223339069\",\r\n    \"appVersion\": \"4.0.0\",\r\n    \"deviceType\": \"iOS\",\r\n    \"deviceId\": \"11122d2e12er3\",\r\n    \"firstName\": \"Jack\",\r\n    \"lastName\": \"Philips\",\r\n    \"country\": \"England\",\r\n    \"latitude\": 23.2424221,  //optional\r\n    \"longitude\": 72.232422  //optional\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/user","urlObject":{"protocol":"https","path":["v4","partner","user"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a2b1b5c2-c4d4-4aad-b18e-57c7de97f84c"},{"name":"Update User Profile","id":"6cb1cfa3-8f8a-46d2-b2aa-3e4aed1d0e94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"userId\",\r\n    \"firstName\": \"Jack\",\r\n    \"lastName\": \"Philips\",\r\n    \"userName\": \"markjones233234352722\",\r\n    \"email\": \"markjones@flaresafety.com\",\r\n    \"enableUser\": true,\r\n    \"profilePicture\": \"base64 of image\"    //optional\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/user","urlObject":{"protocol":"https","path":["v4","partner","user"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6cb1cfa3-8f8a-46d2-b2aa-3e4aed1d0e94"},{"name":"Remove User","id":"2bc4568e-35c5-42eb-9de1-e5a2042cf65c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/partner/user?id","urlObject":{"protocol":"https","path":["v4","partner","user"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>userId</p>\n","type":"text/plain"},"key":"id","value":null}],"variable":[]}},"response":[],"_postman_id":"2bc4568e-35c5-42eb-9de1-e5a2042cf65c"},{"name":"Get User","id":"68226c98-2f25-49b0-bb08-0f8e2b69f572","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/partner/user?id=","urlObject":{"protocol":"https","path":["v4","partner","user"],"host":["api","flaresafety","com"],"query":[{"description":{"content":"<p>userId</p>\n","type":"text/plain"},"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"68226c98-2f25-49b0-bb08-0f8e2b69f572"},{"name":"List Users","id":"20465588-8ad8-473b-94dd-0f45c70179bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"url":"https://api.flaresafety.com/v4/partner/getAllUsers","urlObject":{"protocol":"https","path":["v4","partner","getAllUsers"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"20465588-8ad8-473b-94dd-0f45c70179bc"},{"name":"Update User Status","id":"a157018c-e6f4-4e84-a1ac-67c285b46f11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"authorizationToken","value":"authToken","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"userId\",\r\n    \"userName\": \"markjones33234352722\",\r\n    \"enableUser\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.flaresafety.com/v4/partner/updateUserStatus","urlObject":{"protocol":"https","path":["v4","partner","updateUserStatus"],"host":["api","flaresafety","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a157018c-e6f4-4e84-a1ac-67c285b46f11"}],"id":"3bc63b8d-96ca-46d9-9961-bebeae4754d5","_postman_id":"3bc63b8d-96ca-46d9-9961-bebeae4754d5","description":""}]}