Share Tinybird Endpoint documentation

Learn how to share your Tinybird API Endpoint documentation with development teams.

The Tinybird API Endpoint page

When you publish an API Endpoint, Tinybird generates a documentation page for you that is ready to share and compatible with OpenAPI 3.0. It contains your API Endpoint description, information about the dynamic parameters you can use when querying this API Endpoint, and code snippets for quickly integrating your API in third-party applications.

To share your published API Endpoint, navigate to the "Create Chart" button (Tinybird UI) > "Share this API endpoint" modal:

Use Static Tokens to define API Endpoint subsets

Tinybird authentication is based on Tokens which contain different scopes for specific resources. For example, a Token you can read from one or many API Endpoints, or get write permissions for a particular Data Source.

If you take a closer look at the URLs generated for sharing a public API Endpoint page, you see that after the API Endpoint ID, it includes a Token parameter. This means that this page is only accessible if the Token provided in the URL has read permissions for it:

https://api.tinybird.co/endpoint/t_bdcad2252e794c6573e21e7e?token=<token_with_permissions>

The API Endpoints list page

Tinybird also you can render the API Endpoints information for a given Token.

https://app.tinybird.co/<provider>/<region>/endpoints?token=<your_token>

Enter the previous URL, with your Token and the provider and region where the API Endpoint is published, into the browser to retrieve a list that shows all API Endpoints that the Token can read from.

When integrating your API Endpoint in your apps, manage dedicated Tokens. The easiest way is creating a Token for each environment, so that you can also track the different requests to your API Endpoints by app, and choose which API Endpoints are accessible for them.

Once you do that, you can share auto-generated documentation with ease, without compromising your data privacy and security.

Browse your API Endpoint docs

All API Endpoint documentation is compatible with OpenAPI 3.0 and accessible through the API. If you use a Token with permissions for more than one API Endpoint, the OpenAPI documentation contains information about all the API Endpoints at once.

Updated