Skip to main content
GET
List segments

Authorizations

apiKey
string
header
required

API key from Settings → API keys.

apiSecret
string
header
required

Secret shown once when the API key is created.

Path Parameters

accountId
string
required

Your Gallabox account ID. Must be the API key's own account. A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

Query Parameters

limit
string

Items per page: 20 by default, at most 100.

Only segments whose name contains this text.

page
integer
default:1

Page number, starting at 1.

getCount
boolean

true adds count, the total number of matching segments.

Response

The segments. count is included when you send page or limit.

data
object[]
required
count
integer