Find teamSlug, databaseId and tableSlug
Learn how to find the path parameters teamSlug
, databaseId
and tableSlug
.
You can find your teamSlug
, databaseId
and tableSlug
in both Morph and the Developer Mode.
This section will show you how to retrieve these IDs from both.
In Morph
In Morph, select the database you have created at the beginning of this tutorial. Then, click on the Table [Sample] Employees
that you had created (via CSV import) at the beginning of this tutorial.
You are now viewing that employees
Table in the Dashboard.
Find the values from the URL
You can find the values of the teamSlug
, databaseId
and tableSlug
from the URL of our browser.
The format of the URL is:
https://app.morphdb.io/{YOUR_TEAM _SlUG}/db/{YOUR_DATABASE_ID}/table/{YOUR_TABLE_SLUG}
where:
{YOUR_TEAM_SLUG}
is a placeholder for the value of yourteamSlug
.{YOUR_DATABASE_ID}
is a placeholder for the value of yourdatabaseId
.{YOUR_TABLE_SLUG}
is a placeholder for the value of yourtableSlug
.
Example
Let's look at an example.
When looking at the employees
Table, your screen will look similar to this:

Find tableSlug, databaseId and tableSlug from the Dashboard
In this example, the URL is:
https://app.morphdb.io/71e47be5-a043-422b-9dcc-05c252dde594/db/cf99cd70-95c5-4c51-9347-fc6bbd74f40a/table/employees
where:
- The value of the
teamSlug
is71e47be5-a043-422b-9dcc-05c252dde594
. - The value of the
databaseId
iscf99cd70-95c5-4c51-9347-fc6bbd74f40a
. - The value of the
tableSlug
isemployees
.
Since these IDs are unique identifiers, the values of
teamSlug
,databaseId
andtableSlug
will be unique to you and therefore different than this example.
From the Developer Mode
In the Developer Mode, select the database you have created at the beginning of this tutorial. Then, click on the Table you have created (via CSV import).
You are now viewing that Table in the Developer Mode.
You can find the values of the teamSlug
, databaseId
and tableSlug
in the URL of our browser.
Find the values from the URL
The format of the URL is:
https://developer.morphdb.io/{YOUR_TEAM _SlUG}?databaseId={YOUR_DATABASE_ID}&tableSlug={YOUR_TABLE_SLUG}
Example
Example of such URL with values:
https://developer.morphdb.io/42d54rt5-d389-845a-6lkq-34z563gtu872?databaseId=dw5g1h89-2637-253k-452b-7803j4x7e3vi&tableSlug=employee_csv_demo
where:
{YOUR_TEAM_SLUG}
is a placeholder for the value of yourteamSlug
. In the example above, the value ofteamSlug
is :42d54rt5-d389-845a-6lkq-34z563gtu872
{YOUR_DATABASE_ID}
is a placeholder for the value of yourdatabaseId
. In the example above, the value ofdatabaseId
is :dw5g1h89-2637-253k-452b-7803j4x7e3vi
{YOUR_TABLE_SLUG}
is a placeholder for the value of yourtableSlug
. In the example above, the value of thetableSlug
is :employee_csv_demo
If we break the full URL down to see the different elements of the URL:
Full URL:
https://developer.morphdb.io/{YOUR_TEAM_SLUG}?databaseId={YOUR_DATABASE_ID}&tableSlug={YOUR_TABLE_SLUG}
URL break down:
https://developer.morphdb.io/
{YOUR_TEAM_SLUG}
?
databaseId={YOUR_DATABASE_ID}
&
tableSlug={YOUR_TABLE_SLUG}
Do not confuse the URLs
Do not confuse the URLs of the Morph REST API endpoints and the URL of the Developer mode.
Be mindful not to confuse:
- the URL of the Morph REST API endpoints that we use to make the request to Morph API,
- the URL of the Developer Mode in your browser to view a Table, which we use to find the the values of the
teamSlug
,databaseId
andtableSlug
.
URL of the API endpoints
The URL format of the Query Records endpoint of Morph REST API is:
<https://{teamSlug}.api.morphdb.io/v0/record/{databaseId}/{tableSlug}/query>
We will use this URL to make the API request in the next steps of this tutorial.
URL of the Developer Mode
The URL of the Developer Mode in your browser when viewing a Table is in the format described above. It is pasted below again to avoid any confusion:
https://developer.morphdb.io/{YOUR_TEAM_SLUG}?databaseId={YOUR_DATABASE_ID}&tableSlug={YOUR_TABLE_SLUG}
Updated 2 months ago