Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Org-scoped Norbelys API key. Create one in Settings → API keys and send it as Authorization: Bearer ak_….

Path Parameters

id
string
required

The segment id to update.

Example:

"seg_tz4a98xat96iws9zmbrgj3a"

Body

application/json
definition
AudienceFilterInput · object

Replace the saved filter that defines membership.

Example:
description
string | null

New notes for the segment; null clears them.

Maximum string length: 500
Example:

"US leads who opened or replied in the last 30 days."

name
string

New display name for the segment.

Required string length: 1 - 120
Example:

"Engaged US leads"

Response

OK

definition
AudienceFilter · object
required

The saved audience filter that defines membership, evaluated live against people on every read.

description
string | null
required

Optional notes on the segment's intent.

Example:

"US leads who opened or replied in the last 30 days."

id
string
required

The segment id.

Example:

"seg_tz4a98xat96iws9zmbrgj3a"

name
string
required

The segment's display name.

Example:

"Engaged US leads"

archivedAt
any

Timestamp (RFC 3339) when this was archived, or null if active.

createdAt
any

Creation timestamp (RFC 3339).

object
any
default:segment

Always "segment".

updatedAt
any

Last-update timestamp (RFC 3339).