segments

A manually managed audience segment

Changed on

Retrieve details of a single manually-managed audience segment specified by ID.

Integration Tip:

  • Includes segment type (manual), configuration, and metadata.
  • Automatic/system-generated segments cannot be queried or updated via this endpoint.
get/api/segments/{id}

Request

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

Path parameters

idinteger required

Unique segment numerical ID.

Response

The audience segment

object required

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