Segments

Retrieve a segment

Fetch one segment, including its saved condition and materialized member_count.

Requires the segments:read scope — View your segments and who belongs to them.

get/api/v1/segments/{id}

Request

  • Base URL: https://api.sendly.now
  • URL: https://api.sendly.now/api/v1/segments/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token
    • OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: segments:read)

Path parameters

idstring uuid required

Resource id.

Response

The segment

created_atstring date-time required
descriptionstring nullable required
idstring uuid required
member_countinteger required
namestring required
track_membershipboolean required
type'DYNAMIC' | 'STATIC' required
updated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.