Objective
This article provides step-by-step instructions on how to create a Public API token in your Segment workspace, so you can use the Public API.
Product
Twilio Segment
Environment
Segment Console
User Account Permission/Role(s) Required
Only users with the Workspace Owner role can create a Public API token. For more information about roles, see Segment’s Roles documentation.
Procedure
To create a Public API token in your Segment workspace:
- Navigate to Settings > Workspace settings > Access Management > Tokens.
- Click + Create Token.
- Create a description for the token and assign it either Workspace Owner or Workspace Member access.
- Click Create.
- Copy your workspace token somewhere secure and click Done.
To begin sending requests to the Public API, include the Public API Token in your HTTP requests. Configure the Authorization Header as a Bearer Token with the value of the newly generated Public API token.
Additional Information
You can learn more about the Public API in the documentation here: