Before you can use the API, you must create a Tonic Textual API key. For information on how to obtain a Textual API key, go to Creating and revoking Textual API keys.
When you call the API, you place your API key in the authorization header of the request, similar to the following curl request, which fetches the list of datasets for the current user.
Most Textual API requests require authentication. For each request, the reference information indicates whether the request requires an API key.
For requests that require an API key, if you do not provide a valid API key, you receive a 401 Unauthorized
response.