Get the re-enrollment offers for a driver at a station
curl --request GET \
--url https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"vehicleId": "<string>",
"chargingStationId": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"make": "<string>",
"model": "<string>",
"year": 123
}
]
}{
"type": "BAD_REQUEST",
"code": "INVALID_REQUEST_PARAMETERS",
"message": "<string>"
}{
"type": "UNAUTHORIZED",
"code": "UNAUTHORIZED",
"message": "<string>"
}{
"message": "<string>"
}{
"type": "INTERNAL_ERROR",
"code": "INTERNAL_SERVER_ERROR",
"message": "<string>"
}Vehicle
Get the re-enrollment offers for a driver at a station
Returns the driver’s previously enrolled vehicles whose tokens the inactivity lifecycle disabled (IDLE_74_DAYS) and that were recently seen authorizing at the given station. The vehicle’s status is re-checked at read time, so a vehicle re-confirmed or deleted since the sighting is not returned. The response carries display data only — never the VID. When the access token carries a network claim, the lookup is scoped to that network.
GET
/
identity
/
v2
/
vehicle-reenroll-candidates
Get the re-enrollment offers for a driver at a station
curl --request GET \
--url https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lynkwell.com/identity/v2/vehicle-reenroll-candidates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"vehicleId": "<string>",
"chargingStationId": "<string>",
"expiresAt": "2023-11-07T05:31:56Z",
"name": "<string>",
"make": "<string>",
"model": "<string>",
"year": 123
}
]
}{
"type": "BAD_REQUEST",
"code": "INVALID_REQUEST_PARAMETERS",
"message": "<string>"
}{
"type": "UNAUTHORIZED",
"code": "UNAUTHORIZED",
"message": "<string>"
}{
"message": "<string>"
}{
"type": "INTERNAL_ERROR",
"code": "INTERNAL_SERVER_ERROR",
"message": "<string>"
}Authorizations
OAuth2 Client Credentials Flow
Query Parameters
The driver whose disabled vehicle was sighted
The station the driver's current session is running at
Response
The re-enrollment offers, or an empty list.
Show child attributes
Show child attributes