Skip to content

Create a Standard Endpoint

This guide walks you through building a GET endpoint that fetches data from a table, filters by a request parameter, and joins to a related table.


Click API in the sidebar to open the endpoint editor.


Click the “New” button in the top-right of the endpoint list.

A new route is created with a placeholder path like /_new/X7K2.


In the API Details tab, set the following:

FieldWhat to Enter
TypeONE for a single record, ARRAY for a list
NameA descriptive name for your endpoint
DescriptionWhat this endpoint does
MethodGET for read operations
PathThe URL path (e.g., /product/by-sku, /order/details)

Select your Base Table — the primary table this endpoint queries.

This determines which columns are available for filtering and response mapping.

If you’re building…Base table might be
User directoryuser
Product catalogproduct
Order lookuporder

Define parameters that callers must (or can) provide when calling the endpoint.

In the Parameters section:

  1. Enter a parameter name in the input field
  2. Click Add
  3. Check Required if the parameter is mandatory
  4. Set the validator (e.g., Type Checkstring or integer)
If filtering by…Parameter nameValidator
Namenamestring
IDidinteger
SKUskustring
Statusstatusstring

If your response needs data from a related table, add a join.

Click Add Join to open the join selector:

  1. For foreign key relationships: You’ll see tables that have foreign key relationships with your base table. Click the ”+” button on the table you want to join.

  2. For custom joins: Click the pencil icon to open the join editor and define a custom relationship.

The join appears with:

  • Alias: {localColumn}_{foreignTable} (e.g., companyId_company)
  • Type: INNER (only matching rows) or LEFT (include nulls)

To change the join type, click the dropdown menu and select your preferred option.


Filter the results based on your request parameter.

Click Add Statement to add a filter condition:

  1. Select the table and column to filter on
  2. Set the operator (=, LIKE, >, etc.)
  3. Set the value to $parameterName to reference your request parameter

Define which fields to return in the API response.

Click the Response tab at the top of the editor.

Click Add Property for each field:

  1. Enter the property name (how it appears in the JSON response)
  2. Select the column from the available tables

For joined tables, columns are available under the join alias:

SourceSelector format
Base table column{baseTable}.{column}
Joined table column{localColumn}_{foreignTable}.{column}

  1. Click “Preview Schema” in the top bar to review your changes
  2. Verify the endpoint configuration looks correct
  3. Click “Submit” to save

Call your endpoint with the required parameters:

Terminal window
curl "http://localhost:3001/api/v1/{your-path}?{parameter}={value}"

Example request:

Terminal window
curl "http://localhost:3001/api/v1/user/by-name?firstName=John"

Example response:

{
"data": {
"id": 1,
"firstName": "John",
"lastName": "Doe",
"companyName": "Acme Corp"
}
}

For more configuration options, see the Endpoints Reference.