Skip to main content

Admin Token Required

Administrative operations — create, update, and list users, vehicles, check-ins, rewards, and payouts. Every endpoint in this section requires an admin token.

PUTUpdate Vehicle**Requires admin token.** Update a vehicle in the Ownli System. This method requires the caller to pass in the Id of the vehicle. If the vehicle is active this routine checks for uniqueness of the license plate.PUTDeactivate a vehicle**Requires admin token.** Deactivate a vehicle of the user. This method should be used to remove a vehicle from a policy. No check-ins are allowed on deactivated vehicles. This method does not check if the vehicle is already deactivated or if there are pending check-ins.PUTReactivate a vehicle**Requires admin token.** Reactivate a vehicle of the user. This method should be used to reinstate a vehicle on a policy This method does not check if the vehicle is already active. If the license or vin on the vehicle have already been reused on a different vehicle this method will return an error.PUTUpdate a user**Requires admin token.** Update a user in the Ownli System.PUTUpdate user with policy details**Requires admin token.** Update user with policy details.POSTCreate a vehicle using a VIN**Requires admin token.** Create a vehicle in the Ownli System. This method requires the caller to pass the VIN of the vehicle. If Ownli does not find a VIN match for this, the vehicle will not be created.POSTCreate a vehicle (by license plate and state)**Requires admin token.** Create a vehicle in the Ownli System. This method requires the caller to pass the license plate number and the license plate state. If Ownli does not find a VIN match for this, the vehicle will not be created.POSTCreate a user**Requires admin token.** Create a user in the Ownli System. This method requires the caller to pass the user attributes. If a user with the same email or cell phone exists return an error.POSTCreate a user with policy info**Requires admin token.** Create a user in the Ownli System with required policy info. Identity is phone + policyNumber + contributor.POSTGrant a reward (for an action that occurred in the partner's own systems.)**Requires admin token.** **Sandbox only.** Calls against production credentials return 404 until the capability is enabled per partner under a commercial agreement with Ownli (covering budget prepayment and clawback terms).POSTGenerate a marketplace handoff URL for a category**Requires admin token.** Returns an Ownli-hosted handoff URL for the given marketplace category. The integrator renders this URL as an anchor (button, card, deep link) inside its own app; clicking lands the end user on Ownli's hosted handoff page, which collects any missing fields and forwards the user to the vendor.GETList all vehicles.**Requires admin token.** Retrieve the list of vehicles for users created by a partner.GETList all users.**Requires admin token.** Retrieve the list of users created by a partner.GETList all rewards.**Requires admin token.** Retrieve the list of rewards given by a partner.GETList all payouts.**Requires admin token.** Retrieve the list of payouts of rewards given by a partner.GETList all Proof of address check-ins.**Requires admin token.** Retrieve the list of proof of address check-ins of all users owned by a partner.GETList all mileage check-ins.**Requires admin token.** Retrieve the list of mileage check-ins of all users owned by a partner.GETList all condition check-ins.**Requires admin token.** Retrieve the list of condition check-ins of all users owned by a partner.