segments

Users in a manually managed audience segment

Changed on

Retrieve a paginated list of users enrolled in the specified manual audience segment.

Pagination Guidance:

  • Supports standard page and per_page controls, returning 30 users per page by default.
get/api/segments/{id}/users

Request

  • Base URL
    https://dev.to
  • Auth
    • API key in header api-key
    • or HTTP bearer

Path parameters

idinteger required

Unique segment numerical ID.

Query parameters

per_pageinteger

Page size (the number of items to return per page). The default maximum value can be overridden by "API_PER_PAGE_MAX" environment variable.

Response

A List of users in the audience segment

type_ofstring
idinteger
usernamestring
namestring
summarystring nullable
twitter_usernamestring
github_usernamestring
website_urlstring nullable
locationstring nullable
joined_atstring
profile_imagestring

Changes

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status

    • info

      added the media type application/json for the response with the status