Authorization header with every request:
What the token needs:
- It has to reach the agent, either through All apps and Superagents or by choosing this agent under One app or Superagent.
- It needs Full access for most endpoints. A Read-only token works only with Get Superagent conversation.
- Workspace API keys aren’t accepted.
Get an access token
You can create a token from the agent’s developer settings. To create a personal access token for your Superagent:- Open your Superagent.
- Click Agent Settings in the sidebar.
- Click Developer.
- Click Create access token, then follow the steps to create a token that can reach this agent.
Example request
This returns your conversation with the agent, creating it the first time you call it. Use its
id to send a message.