Langsung ke konten utama
GET
/
v3
/
locations
List locations for authenticated business flows
curl --request GET \
  --url https://api.scalev.com/v3/locations \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "subdistrict_name": "<string>",
      "city_name": "<string>",
      "province_name": "<string>",
      "display": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
    }
  ],
  "is_paginated": true,
  "has_next": false,
  "page_size": 25
}

Otorisasi

Authorization
string
header
wajib

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parameter Query

page_size
integer
default:25

Number of items per page.

Rentang yang diperlukan: 1 <= x <= 25
next_cursor
string

Opaque cursor for the next page.

previous_cursor
string

Opaque cursor for the previous page.

Search term for location names

Respons

Locations list

Paginated list payload for v3.

data
Location · object[]
wajib
is_paginated
enum<boolean>
wajib
Opsi yang tersedia:
true
Contoh:

true

has_next
boolean
default:false
Contoh:

false

page_size
integer
default:25
Contoh:

25