Environments

List environments

GET
https://api.x.flatfile.com/v1/environments
Get all environments

Query parameters

pageSize
optional integer
Number of environments to return in a page (default 10)
pageNumber
optional integer
Based on pageSize, which page of environments to return

Response

This endpoint return an object.
data
list of objects
pagination
optional object
GET
/environments
curl https://api.x.flatfile.com/v1/environments \
-H "Authorization: Bearer <token>"
Response
{
"data": [
{
"id": "us_env_YOUR_ID",
"accountId": "us_acc_YOUR_ID",
"name": "dev",
"isProd": false,
"guestAuthentication": [
"magic_link"
],
"features": {},
"metadata": {},
"namespaces": [
"default"
]
}
]
}