product:chat

Check whether a target exists in a segment

Changed on

Check whether a target exists in a segment. Returns 200 if the target exists, 404 otherwise

get/segments/{id}/target/{target_id}

Request

  • Base URL
    https://chat.stream-io-api.com
  • URL
    https://chat.stream-io-api.com/segments/{id}/target/{target_id}
  • 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
target_idstring required

Response

Response

durationstring required

Duration of the request in milliseconds

Changes