Skip to main content
POST

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

Opt-in idempotency for a safely retried write: reuse the same key to replay the original result for 24h instead of re-executing. Recommended on every POST.

Maximum string length: 255

Body

application/json
definition
AudienceFilterInput · object
required

The audience filter that defines membership; its conditions are evaluated live against your people.

Example:
name
string
required

The segment's display name.

Required string length: 1 - 120
Example:

"Engaged US leads"

description
string

Optional notes on the segment's intent.

Maximum string length: 500
Example:

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

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).