SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How to Create a Public API Token?

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:

  1. Navigate to Settings > Workspace settings > Access Management > Tokens.
  2. Click + Create Token.
  3. Create a description for the token and assign it either Workspace Owner or Workspace Member access.
  4. Click Create.
  5. 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:

Have more questions? Submit a request
Powered by Zendesk