You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/api/public-api/index.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,20 @@ The Public API includes the following benefits over the Config API:
30
30
| Available in Europe | The Public API is accessible to both US and EU-based workspaces. ||
31
31
| Increased reliability | The Public API features more stable endpoints, and a 99.8% success rate |
32
32
33
+
## Create a Public API token
34
+
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.
37
+
38
+
To create a Public API token in your Segment workspace:
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**.
44
+
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.
0 commit comments