Skip to contentSkip to navigationSkip to topbar
On this page
Looking for more inspiration?Visit the
(information)
You're in the right place! Segment documentation is now part of Twilio Docs. The content you are used to is still here—just in a new home with a refreshed look.

Locate your Write Key


The write key is a unique identifier for each source. It lets Segment know which source is sending the data and which destinations should receive that data.


Find the write key for a source

find-the-write-key-for-a-source page anchor

To find a write key, you first need to create an event streams source like a website, server, or mobile source. (Cloud-sources do not have write keys, as they use a token or key from your account with that service.)

Then, in the Source, go to Settings and select API Keys.

Screenshot showing the Settings page of a web source, with the API Keys tab selected.

Now you can add the source's write key to your app and begin sending data to Segment.


Locate a source using your write key

locate-a-source-using-your-write-key page anchor

To find the source given a write key within your workspace, open your workspace and select the search icon. Enter your write key into the search bar. If the write key exists in the workspace and is connected to a source, the source shows up in the list of results.

Screenshot of the in-app search function, with a Javascript source named My Website in the list of search results.
(information)

This method is only available to locate event streams sources

This method cannot be used to find a destination or cloud event source.