Test and save a REST API connection with a bearer token
Configure bearer authentication for a REST API connection and verify that the provider accepts a read request before saving.
Use this workflow when the provider requires an Authorization header with a bearer token. You need permission to manage the REST API Connector and a token with access to the provider’s read endpoint.
Test the authenticated connection
- In workspace settings, open REST API and select Add Connection.
- In Base URL, enter the provider’s HTTPS address for a read endpoint that requires the token. Use an endpoint documented to respond to
GET. - In Authentication Type, select Bearer Token. Enter the token itself in Bearer Token. Mainbase adds the
Bearerprefix in the request header. - Select Next to run the connection test. If it fails with an authentication or access error, check that the token is current and has permission to read the endpoint you entered. Correct the connection details and test again.
Save the connection
After the test succeeds, select Next, name the connection, and select Create Integration. Confirm that the named connection appears in the REST API settings. The test verifies that the provider responded successfully to the connection request.
Ask Mainbase AI
Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.
Open the AI assistantCopy a question to get started
- How do I create a Kanban view?
- How do I invite a teammate?
- Why is a record missing from this view?