Every Superface account has an authentication token assigned to it. This token is used to authenticate API calls, but also to determine which set of tools and their associated functions should be returned for use by your agent.
You can find the API token in the Hub API section of your Superface account.
The Superface API uses Bearer
authentication, and expects this as part of the headers that as passed with each request for every endpoint.
Authorization: Bearer <your_auth_token>
For example:
curl -H "Authorization: Bearer <your_auth_token>" <https://pod.superface.ai/api/hub/fd>
<aside>
← Previous
</aside>
<aside>
Next →
</aside>