---
title: "Fetch a stream target"
method: GET
path: "/stream_targets/{id}"
tags: ["stream_targets"]
---

# Fetch a stream target

`GET /stream_targets/{id}`

This operation shows the details of a specific stream target whether it be a Wowza CDN, custom, Facebook Live, or LinkedIn live stream target.

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `stream_target_custom` StreamTargetCustom
    - `backup_url` string — The backup ingest URL for a custom stream target. Not for use with the akamai_cupertino custom *provider*.
    - `created_at` string, date-time — The date and time that the custom stream target was created.
    - `delivery_protocols` string[] — An array of the delivery protocols available for this stream target. Available from version 1.7.
    - `id` string — The unique alphanumeric string that identifies the custom stream target.
    - `name` string — A descriptive name for the custom stream target. Maximum 255 characters.
    - `password` string — A *username* must be present. The password associated with the target username for RTMP authentication. Not for use with the akamai_cupertino custom *provider*.
    - `playback_urls` object — Web addresses that the target uses to play streams. Available from version 1.7.
      - `hls` object[] — Web address that the target uses to play HLS streams.
        - `name` string — The name of the playback URL.
        - `url` string — The playback URL.
      - `hds` object[] — Web address that the target uses to play HDS streams. Not for use with the akamai_cupertino custom *provider*.
        - `name` string — The name of the playback URL.
        - `url` string — The playback URL.
      - `rtmp` object[] — Web address that the target uses to play RTMP streams.
        - `name` string — The name of the playback URL.
        - `url` string — The playback URL.
    - `primary_url` string — The primary ingest URL of the custom stream target.
    - `provider` string — The CDN for the target.
    - `stream_name` string — The name of the stream being ingested into the target.
    - `updated_at` string, date-time — The date and time that the custom stream target was updated.
    - `username` string — The username or ID that the target uses for RTMP authentication. Not for use with the akamai_cupertino custom *provider*.
  - `stream_target_wowza_cdn` StreamTargetFastly
    - `created_at` string, date-time — The date and time that the stream target was created.
    - `custom_origin_region` string, string — The region where your Wowza Streaming Engine instance is located. Available from version 1.6.
    - `custom_origin_url` string, string — The Wowza Streaming Engine instance's domain or IP address. Available from version 1.6.
    - `url_suffix` string, string — The path appended to the end of the playback url to make it a valid URL, to have playback through the Wowza Video Flowplayer. This is available for HLS playback only and necessary for stream targets with a custom origin. You must have a **url_suffix** to enable the Share Stream feature for this stream target. The Share Stream feature enables you to host the player and use the Wowza Video player for your viewers to view your stream. Example: "custom_origin/cW8JTDFr"
    - `delivery_protocols` string[] — An array of the delivery protocols available for this stream target. Available from version 1.7.
    - `force_ssl_playback` boolean — If **true**, requires users to play the stream over HTTPS. If **false**, the default, users can play the stream over HTTPS or HTTP.
    - `geoblock_enabled` boolean — If **true**, controls access to the stream from specific locations and, optionally, IP addresses. The default is **false**.
    - `geoblock_by_location` 'allow' | 'deny' | 'disabled' — Specifies whether to **allow** or **deny** access to the stream from specific locations. The default is **disabled**.
    - `geoblock_country_codes` string — Required when *geoblock_by_location* is **allow** or **deny**. The locations affected by the geo-blocking. Enter a comma-separated list of capitalized two-letter ISO 3166-1 country codes. For a list, see [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) on Wikipedia.
    - `geoblock_ip_override` 'allow' | 'deny' | 'disabled' — Specifies whether specific IP addresses can override the locations that are allowed or restricted. **allow** permits access from IP addresses within a location that's been blocked, while **deny** restricts access from IP addresses within locations that are allowed. The default is **disabled**.
    - `geoblock_ip_addresses` string — Required when *geoblock_ip_override* is **allow** or **deny**. Addresses that can access or restrict the stream even if they're within a specified geo-blocked location. Enter a comma-separated list of IPv4 and IPv6 IP addresses that always allow or deny streaming based on the *geoblock_ip_override* value.
    - `id` string — The unique alphanumeric string that identifies the stream target.
    - `name` string — A descriptive name for the stream target. Maximum 255 characters.
    - `playback_urls` object — Web addresses that the target uses to play streams.
      - `hls` object[] — Web address that the target uses to play HLS streams.
        - `name` string — The name of the playback URL.
        - `url` string — The playback URL.
    - `state` 'activated' | 'archived' — The state of the stream target.
    - `stream_name` string — The name of the stream being ingested into the target.
    - `referer_enabled` boolean — If **true**, controls access to the stream from specific domains. The client or player requesting access to the stream must send the Referer header so the origin of the request can be validated. The default is **false**. **Note:** If you change *referer_enabled* to **false** after configuring the referer policy, then later re-enable it, you'll need to re-configure the other referer policy values as well. Available from version 1.7. For more information about the Referer header, see the [HTTP specification](https://tools.ietf.org/html/rfc7231#section-5.5.2).
    - `referer_allow_empty` boolean — The Referer header sent by the client or player can be empty and not identify the origin of the request. The default is **false** when *referer_enabled* is **true**. While less secure, if you know you'll have viewers with a client or player that won't send a Referer header, you can specify **true** to allow an empty Referer header so those viewers can still access the stream. Available from version 1.7.
    - `referer_policy` 'allow' | 'deny' — Specifies whether to **allow** or **deny** access to the stream from specific domains. The default is **allow** when *referer_enabled* is **true**. Specify the domains to allow or deny in *referer_domains*. Available from version 1.7.
    - `referer_domains` string — Domains that are either allowed or blocked from accessing the stream. Enter a comma-separated list of domains that are always allowed or denied access based on the *referer_policy* value. Required when *referer_enabled* is **true**. We recommend you enter the simplest form of the domain as possible, but you do need to build out the domain to the level of subdomains you want to allow or deny. You can fully express to the subdomain (_mysubdomain.example.com_) to specify that single, specific subdomain or you can use a wildcard (&#42;) to cover all subdomains at a specific level (_&#42;.example.com_). **Example:** _example.com, *.example.com, *.mysubdomain.example.com_ If you entered the above example value for *referer_domains*, and *referer_policy* is **allow**, the following domains are allowed access to the stream: <ul> <li>https://example.com</li> <li>https://subdomain.example.com, https://subdomain2.example.com, etc.</li> <li>https://subdomainA.mysubdomain.example.com, https://subdomainB.mysubdomain.example.com, etc.</li> </ul> Available from version 1.7.
    - `token_auth_enabled` boolean — If **true**, token authentication protects the stream by ensuring that it's delivered only to authorized viewers and can't be shared by unauthorized links or player hijacking attacks. The default is **false**.
    - `token_auth_shared_secret` string — The shared secret of the token authentication. Must contain only hexadecimal characters and be an even number of total characters not exceeding 32.
    - `token_auth_playlist_only` boolean — If **true**, Wowza Video uses token authentication to protect the master playlist only and leaves individual media playlists and media segments unprotected. This feature enables playback compatibility with media players that don’t support the *withCredentials* property. It may also be useful when addressing token auth compatibility issues with specific browsers. The default is **false**. **Note**: If you've enabled MPEG-DASH on your stream target, `token_auth_playlist_only` applies to both the `playlist.m3u8` for HLS and `manifest.mpd` for MPEG-DASH.
    - `updated_at` string, date-time — The date and time that the stream target was updated.
  - `stream_target_facebook` StreamTargetFacebook
    - `title` string — The title of the stream target.
    - `created_at` string, date-time — The date and time that the stream target was created.
    - `delivery_protocols` string[] — An array of the delivery protocols available for this stream target.
    - `id` string — The unique alphanumeric string that identifies the stream target.
    - `name` string — A descriptive name for the stream target. Maximum 255 characters.
    - `description` string — An optional description of the stream target.
    - `facebook_privacy` 'self' | 'all_friends' | 'friends_of_friends' | 'everyone' — The Facebook privacy setting that determines who can watch your stream.
    - `facebook_resource_id` integer — A unique identifier assigned to each individual item (like a post, page, ad, or user) within the Facebook platform.
    - `facebook_resource_type` 'timeline' — The video's destination within Facebook where users can view the stream.
    - `facebook_save_vod` boolean — Whether or not the video data should be saved for later consumption in VOD format. This is set to **true** by default. This can only be set at the time of creation.
    - `updated_at` string, date-time — The date and time that the stream target was updated.
    - `facebook_token` string — A unique alphanumeric string that identifies a user, app, or page and allows an application to access an API.
    - `type` 'FacebookStreamTarget' — The type of stream target returned.
  - `stream_target_linkedin` StreamTargetLinkedin
    - `title` string — The title of the stream target.
    - `created_at` string, date-time — The date and time that the stream target was created.
    - `member_type` 'person' | 'organization' — Indicates whether you're streaming into LinkedIn as a person or organization.
    - `id` string — The unique alphanumeric string that identifies the stream target.
    - `name` string — A descriptive name for the stream target. Maximum 255 characters.
    - `description` string — An optional description of the stream target.
    - `region` 'WEST_US' | 'EAST_US_NORTH' | 'EAST_US_SOUTH' | 'CENTRAL_US' | 'SOUTH_CENTRAL_US' | 'SOUTH_AMERICA' | 'SOUTHEAST_ASIA' | 'CENTRAL_INDIA' | 'NORTH_EUROPE' | 'WEST_EUROPE' — The region that is closest to the broadcast location of your transcoder.
    - `urn` string — A globally unique alphanumeric identifier used to represent an entity's association in an API.
    - `member_description` string — A description of the person or organization.
    - `updated_at` string, date-time — The date and time that the stream target was updated.
    - `access_token` string — A unique alphanumeric string that allows access to LinkedIn from Wowza Video.
    - `access_token_expires` string, date — The date the access token expires. When the token expires, you must log in again.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `410` — Gone

---

[API](https://skmtc.net/wowza/apis/wowza-video-rest-api-reference-documentation.md) · [All operations](https://skmtc.net/wowza/apis/wowza-video-rest-api-reference-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wowza/wowza-video-rest-api-reference-documentation/versions/157b6f741f2a/schema)
