Skip to main content
GET
Check if Segment Code Exists
Pass segmentId to exclude a segment from the check, which is what you want when renaming the code on an existing segment.

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Query Parameters

code
string

The segment code to check.

segmentId
integer<int64>

The optional segment ID to exclude from the check.

Response

OK

The response is of type boolean.

Last modified on July 28, 2026