Skip to main content
GET
Get Stack Connection Code
Returns code snippets in the language of the application, using the variable names the platform injected. Needs the stacks:read scope when called with an API key.
string
required
The stack ID.
string
required
The application of the stack to connect.
string
The language of the code. Default: the language of the application.
string
The workspace the stack belongs to. Required for a workspace member acting on a stack they do not own.

Response

object
For more on connecting, see Connect a database.

Errors

Last modified on October 28, 2026