v1
latestOpenAPI 3.0.12026-07-243686491.1 MBVehicles
Create a vehicle authorization link
Required scope: vehicles:write. Returns the link an application user follows to authorize their vehicle account (e.g. Enode or Smartcar) so it can be connected to Monta.
post/api/v1/vehicles/integrations/authorization-link
Request body
Example request
{
"userId": 10000,
"redirectUri": "https://example.com/vehicle/callback",
"provider": "enode",
"brandId": 1234,
"scopes": [
"charge-state",
"control-charging"
]
}Response
Authorization link created
Example response
{
"authorizeLink": "https://link.enode.com/abc123",
"token": "8c3f0b2e-1a4d-4f7e-9c2b-1d2e3f4a5b6c",
"provider": "enode",
"authFlow": "enode-sdk"
}