Skip to main content
GET
/
poi-visits
List POI visits
curl --request GET \
  --url https://app.unitedlogistics.com.do/api/v1/poi-visits \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://app.unitedlogistics.com.do/api/v1/poi-visits"

headers = {"Authorization": "Bearer <token>"}

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

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://app.unitedlogistics.com.do/api/v1/poi-visits', 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://app.unitedlogistics.com.do/api/v1/poi-visits",
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://app.unitedlogistics.com.do/api/v1/poi-visits"

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://app.unitedlogistics.com.do/api/v1/poi-visits")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://app.unitedlogistics.com.do/api/v1/poi-visits")

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": [
    {
      "id": 9183721,
      "org_id": "d87f7281-ea19-45cd-b6fd-d8eb9e310da1",
      "poi_id": 481,
      "vehicle_external_id": 16444,
      "stay_id": 9183714,
      "visit_start": "2026-05-20T13:11:03.412Z",
      "visit_end": "2026-05-20T14:42:51.000Z",
      "duration_minutes": 92,
      "poi_name": "Cliente Altice – Bávaro",
      "poi_tags": [
        "cliente",
        "distribución-este"
      ],
      "poi_latitude": 18.6792,
      "poi_longitude": -68.4014,
      "poi_image_url": null,
      "vehicle_number": "T-114",
      "license_plate": "L139558",
      "event_count": 318,
      "distance_to_poi_meters": 41.5,
      "poi_version": 3,
      "created_at": "2026-05-20T14:43:01.117Z",
      "updated_at": "2026-05-20T14:43:01.117Z"
    },
    {
      "id": 9183720,
      "org_id": "d87f7281-ea19-45cd-b6fd-d8eb9e310da1",
      "poi_id": 481,
      "vehicle_external_id": 16444,
      "stay_id": 9183714,
      "visit_start": "2026-05-19T08:02:51.000Z",
      "visit_end": "2026-05-19T08:48:14.000Z",
      "duration_minutes": 45,
      "poi_name": "Cliente Altice – Bávaro",
      "poi_tags": [
        "cliente",
        "distribución-este"
      ],
      "poi_latitude": 18.6792,
      "poi_longitude": -68.4014,
      "poi_image_url": null,
      "vehicle_number": "T-114",
      "license_plate": "L139558",
      "event_count": 162,
      "distance_to_poi_meters": 22.8,
      "poi_version": 3,
      "created_at": "2026-05-19T08:48:25.000Z",
      "updated_at": "2026-05-19T08:48:25.000Z"
    }
  ],
  "pagination": {
    "next_cursor": "eyJ2aXNpdF9zdGFydCI6IjIwMjYtMDUtMTlUMDg6MDI6NTEuMDAwWiIsImlkIjo5MTgzNzIwfQ",
    "has_more": true
  }
}
{
"error": {
"code": "bad_request",
"message": "limit must be between 1 and 500."
}
}
{
"error": {
"code": "unauthorized",
"message": "API key missing or invalid."
}
}
{
"error": {
"code": "too_many_requests",
"message": "Rate limit exceeded."
}
}

Authorizations

Authorization
string
header
required

Authorization: Bearer ulk__. Cree la clave en Configuración → API.

Query Parameters

limit
string

Page size, 1-500. Defaults to 50.

Pattern: ^\d+$
Example:

"50"

cursor
string

Opaque cursor from a previous call's pagination.next_cursor.

poi_id
string

Filter to a single POI.

Pattern: ^\d+$
Example:

"481"

vehicle_external_id
string

Filter to a single vehicle (vehicles.external_id).

Pattern: ^\d+$
Example:

"16444"

start
string<date-time>

ISO-8601 lower bound on visit_start (inclusive).

end
string<date-time>

ISO-8601 upper bound on visit_start (inclusive).

Response

OK

data
object[]
required
pagination
object
required