Skip to main content
GET
/
v3
/
locations
List locations for authenticated business flows
curl --request GET \
  --url https://api.myscalev.com/v3/locations \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "city_name": "<string>",
      "display": "<string>",
      "id": 123,
      "jne_destination_id": 123,
      "jne_origin_id": 123,
      "ka_district_id": 123,
      "lincah_code": "<string>",
      "lion_code": "<string>",
      "mengantar_code": "<string>",
      "ninja_l1": "<string>",
      "ninja_l2": "<string>",
      "province_name": "<string>",
      "ro_city_id": 123,
      "ro_province_id": 123,
      "ro_subdistrict_id": 123,
      "subdistrict_name": "<string>"
    }
  ],
  "is_paginated": true,
  "has_next": false,
  "page_size": 25,
  "page": 1
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer
default:1

Page number for pagination

Required range: x >= 1
page_size
integer
default:10

Number of items per page

Required range: 1 <= x <= 100

Search term for location names

Response

Locations list

Paginated list payload for v3.

data
Location · object[]
required
is_paginated
enum<boolean>
required
Available options:
true
Example:

true

has_next
boolean
default:false
Example:

false

page_size
integer
default:25
Example:

25

page
integer
default:1
Example:

1