# Access the Stream Key for iOS mobile app

**URL:** <https://staging-discuss.dev.twitch.com/t/access-the-stream-key-for-ios-mobile-app/27954>\
**Category:** API\
**Created:** [August 29, 2020, 11:23pm UTC](https://staging-discuss.dev.twitch.com/t/access-the-stream-key-for-ios-mobile-app/27954 "2020-08-29T23:23:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanso](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@kanso](https://staging-discuss.dev.twitch.com/u/kanso)\
**Post date:** [August 29, 2020, 11:23pm UTC](https://staging-discuss.dev.twitch.com/t/access-the-stream-key-for-ios-mobile-app/27954/1 "2020-08-29T23:23:23Z")

</div>

Writing an iOS app and would like to know the best way for a user to access their stream key and use within my app. Anyone have any examples? Prefer objective c but swift would work as well. Thanks

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://staging-discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [August 30, 2020, 12:10am UTC](https://staging-discuss.dev.twitch.com/t/access-the-stream-key-for-ios-mobile-app/27954/2 "2020-08-30T00:10:15Z")

</div>

> **[Reference](https://dev.twitch.tv/docs/api/reference/)**
>
> Twitch Developer tools and services to integrate Twitch into your development or create interactive experience on twitch.tv.

Is the documented API end point to obtain the stream key from the API

You’ll need to have performed oAuth and logged in the user to Twitch with the `channel:read:stream_key` scope.

Alternatively just give the user a input field to copy/paste their key into.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [September 29, 2020, 12:10am UTC](https://staging-discuss.dev.twitch.com/t/access-the-stream-key-for-ios-mobile-app/27954/3 "2020-09-29T00:10:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
