Skip to content

Commit 6ebb146

Browse files
authored
Update index.md Creating A Public API Token
1 parent 40e81d1 commit 6ebb146

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/api/public-api/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ The Public API includes the following benefits over the Config API:
3030
| Available in Europe | The Public API is accessible to both US and EU-based workspaces. | |
3131
| Increased reliability | The Public API features more stable endpoints, and a 99.8% success rate |
3232

33+
## Creating A Public API Token
34+
35+
Navigate to this link to [create a Public API Token](https://app.segment.com/goto-my-workspace/settings/access-management/tokens), or follow these steps : In your Segment workspace navigate to _**Settings**__**Workspace settings**__**Access Management** tab__**Tokens** tab_. On the right, click the `+ Create Token` button. Create a description for the token and assign access : Workspace Owner or Workspace Member. Click `Create` and make sure to save the access token before clicking `Done`, as you will not be able to see it again.
36+
37+
_Please note that only a Workspace Owner can create a Public API token._
38+
39+
To begin sending requests to the Public API, make sure to include the Public API Token into your HTTP requests with the `Authorization` Header and configured with `Bearer Token` and the newly generated Public API token's value.
40+
3341

3442
## API Token Security
3543

0 commit comments

Comments
 (0)