Skip to content

Commit 0b82f85

Browse files
Update src/api/public-api/index.md
1 parent 6ebb146 commit 0b82f85

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/api/public-api/index.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,19 @@ 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
33+
## Creating a Public API token
3434

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.
35+
> info "Only Workspace Owners can create a Public API token"
36+
> Only users with the Workspace Owner role can create a Public API token. For more information about roles, see Segment's [Roles](/docs/segment-app/iam/roles/) documentation.
3637
37-
_Please note that only a Workspace Owner can create a Public API token._
38+
To create a Public API token in your Segment workspace:
39+
1. Navigate to Settings > Workspace settings > Access Management > Tokens.
40+
2. Click the **+ Create Token** button.
41+
3. Create a description for the token and assign it either Workspace Owner or Workspace Member access.
42+
4. Click **Create**.
43+
5. Copy your workspace token somewhere secure and click **Done**.
3844

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.
45+
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 value of the newly generated Public API token.
4046

4147

4248
## API Token Security

0 commit comments

Comments
 (0)