Skip to main content
GET
/
v2
/
external
/
verticales
cURL
curl --request GET \
  --url https://staging.api.eu-west-3.lokki.rent/v2/external/verticales \
  --header 'x-access-token: <api-key>'
import requests

url = "https://staging.api.eu-west-3.lokki.rent/v2/external/verticales"

headers = {"x-access-token": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-access-token': '<api-key>'}};

fetch('https://staging.api.eu-west-3.lokki.rent/v2/external/verticales', 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://staging.api.eu-west-3.lokki.rent/v2/external/verticales",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-access-token: <api-key>"
],
]);

$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://staging.api.eu-west-3.lokki.rent/v2/external/verticales"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-access-token", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://staging.api.eu-west-3.lokki.rent/v2/external/verticales")
.header("x-access-token", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://staging.api.eu-west-3.lokki.rent/v2/external/verticales")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-access-token"] = '<api-key>'

response = http.request(request)
puts response.read_body
[
  {
    "id": "BIKE",
    "infos": {
      "name": "Vélo"
    }
  }
]
Retrieve the list of all verticales supported by Lokki. Verticales are the top-level classification for rental items and stores.

Authorizations

x-access-token
string
header
required

Query Parameters

lang
string
required

Response

200 - application/json
id
enum<string>
required

Unique identifier for the verticale

Available options:
BIKE,
ELECTRIC_BIKE,
MOPED,
MOTORCYCLE,
CAR,
SCOOTER,
SKI,
CLIMBING,
SNOWSHOES,
SURF,
PADDLE,
CANOE_KAYAK,
BOAT,
EVENT,
MOTOCULTURE,
TOOLING
Example:

"BIKE"

infos
object
required

Descriptive information about the verticale