product:chat

Add targets to a segment

Changed on

Add targets to a segment

post/segments/{id}/addtargets

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/segments/{id}/addtargets
  • Auth
    • API key in header Authorization and API key in query parameter api_key and API key in header Stream-Auth-Type
    • or API key in query parameter api_key and API key in header Stream-Auth-Type

Path parameters

idstring required

Request body

target_idsstring[] required

Target IDs

Response

Response

durationstring required

Duration of the request in milliseconds

Changes