🚀 New App Builder Engine is Beta! See our changelog for details.
cURL
curl --request POST \ --url https://app.teable.ai/api/base/%7BbaseId%7D/connection \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"baseId":"string"}'
{ "dsn": { "driver": "<string>", "host": "<string>", "port": 123, "db": "<string>", "user": "<string>", "pass": "<string>", "params": {} }, "connection": { "max": 123, "current": 123 }, "url": "<string>" }
Create a db connection url
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Connection created successfully
Show child attributes
The URL that can be used to connect to the database
Was this page helpful?