API v2 Documentation (Draft)
Client API > Response
Client API > Contacts
Client API > Display
Client API > Environment
Client API > User
Management API > Responses
Management API > Contacts
Management API > Contact Attributes
Management API > Contact Attribute Keys
Management API > Surveys
Management API > Surveys
Get Environment State
Retrieves the environment state to be used in Formbricks SDKs
GET
/
{environmentId}
/
environment
curl --request GET \
--url https://app.formbricks.com/api/v2/client/{environmentId}/environment \
--header 'x-api-key: <api-key>'
{
"environmentId": "env123",
"state": "active"
}
Authorizations
Use your Formbricks x-api-key to authenticate.
Response
200 - application/json
OK
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://app.formbricks.com/api/v2/client/{environmentId}/environment \
--header 'x-api-key: <api-key>'
{
"environmentId": "env123",
"state": "active"
}