segments

Add users to a manually managed audience segment

Changed on

Add users in bulk to the specified manual audience segment.

Bulk Update Behavior:

  • Accepts a JSON array of user_ids in the request body.
  • Returns a list of successes and failures. Successful additions include users already present in the segment.
put/api/segments/{id}/add_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.

Request body

user_idsinteger[]

Response

Result of adding the users to the segment.

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

    • 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

    • 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