Environments-12
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
Create environments subscriptions
Required API key scopes
subscription:writePath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- dashboardinteger
- insightinteger
- target_type
- target_valuestring
- frequency
- intervalinteger
- byweekdayarray
- bysetposinteger
- countinteger
- start_datestring
- until_datestring
- deletedboolean
- titlestring
- invite_messagestring
Response
Request
POST 
Response
Status 201
Create environments subscriptions
Required API key scopes
subscription:writePath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- dashboardinteger
- insightinteger
- target_type
- target_valuestring
- frequency
- intervalinteger
- byweekdayarray
- bysetposinteger
- countinteger
- start_datestring
- until_datestring
- deletedboolean
- titlestring
- invite_messagestring
Response
Request
POST 
Response
Status 201
Retrieve environments subscriptions
Required API key scopes
subscription:readPath parameters
- idintegerA unique integer value identifying this subscription. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Response
Request
GET 
Response
Status 200
Retrieve environments subscriptions
Required API key scopes
subscription:readPath parameters
- idintegerA unique integer value identifying this subscription. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Response
Request
GET 
Response
Status 200
Update environments subscriptions
Required API key scopes
subscription:writePath parameters
- idintegerA unique integer value identifying this subscription. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- dashboardinteger
- insightinteger
- target_type
- target_valuestring
- frequency
- intervalinteger
- byweekdayarray
- bysetposinteger
- countinteger
- start_datestring
- until_datestring
- deletedboolean
- titlestring
- invite_messagestring
Response
Request
PATCH 
Response
Status 200
Update environments subscriptions
Required API key scopes
subscription:writePath parameters
- idintegerA unique integer value identifying this subscription. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- dashboardinteger
- insightinteger
- target_type
- target_valuestring
- frequency
- intervalinteger
- byweekdayarray
- bysetposinteger
- countinteger
- start_datestring
- until_datestring
- deletedboolean
- titlestring
- invite_messagestring
Response
Request
PATCH 
Response
Status 200
Delete environments subscriptions
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
subscription:writePath parameters
- idintegerA unique integer value identifying this subscription. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
DELETE 
Response
Status 405 No response body
Delete environments subscriptions
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
subscription:writePath parameters
- idintegerA unique integer value identifying this subscription. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
DELETE 
Response
Status 405 No response body
List all environments
Projects for the current organization.
Required API key scopes
project:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- limitintegerNumber of results to return per page. 
- offsetintegerThe initial index from which to return the results. 
Response
Request
GET 
Response
Status 200
Create environments
Projects for the current organization.
Required API key scopes
project:writePath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- app_urlsarray
- namestring
- slack_incoming_webhookstring
- anonymize_ipsboolean
- completed_snippet_onboardingboolean
- test_account_filters
- test_account_filters_default_checkedboolean
- path_cleaning_filters
- is_demoboolean
- timezone
- data_attributes
- person_display_name_propertiesarray
- correlation_config
- autocapture_opt_outboolean
- autocapture_exceptions_opt_inboolean
- autocapture_web_vitals_opt_inboolean
- autocapture_web_vitals_allowed_metrics
- autocapture_exceptions_errors_to_ignore
- capture_console_log_opt_inboolean
- capture_performance_opt_inboolean
- session_recording_opt_inboolean
- session_recording_sample_ratestring
- session_recording_minimum_duration_millisecondsinteger
- session_recording_linked_flag
- session_recording_network_payload_capture_config
- session_recording_url_trigger_configarray
- session_recording_url_blocklist_configarray
- session_recording_event_trigger_configarray
- session_replay_config
- survey_config
- access_controlboolean
- week_start_day
- primary_dashboardinteger
- live_events_columnsarray
- recording_domainsarray
- inject_web_appsboolean
- extra_settings
- modifiers
- has_completed_onboarding_for
- surveys_opt_inboolean
- heatmaps_opt_inboolean
- capture_dead_clicksboolean
Response
Request
POST 
Response
Status 201
Retrieve environments
Projects for the current organization.
Required API key scopes
project:readPath parameters
- idintegerA unique integer value identifying this team (soon to be environment). 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Response
Request
GET 
Response
Status 200
Update environments
Projects for the current organization.
Required API key scopes
project:writePath parameters
- idintegerA unique integer value identifying this team (soon to be environment). 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- app_urlsarray
- namestring
- slack_incoming_webhookstring
- anonymize_ipsboolean
- completed_snippet_onboardingboolean
- test_account_filters
- test_account_filters_default_checkedboolean
- path_cleaning_filters
- is_demoboolean
- timezone
- data_attributes
- person_display_name_propertiesarray
- correlation_config
- autocapture_opt_outboolean
- autocapture_exceptions_opt_inboolean
- autocapture_web_vitals_opt_inboolean
- autocapture_web_vitals_allowed_metrics
- autocapture_exceptions_errors_to_ignore
- capture_console_log_opt_inboolean
- capture_performance_opt_inboolean
- session_recording_opt_inboolean
- session_recording_sample_ratestring
- session_recording_minimum_duration_millisecondsinteger
- session_recording_linked_flag
- session_recording_network_payload_capture_config
- session_recording_url_trigger_configarray
- session_recording_url_blocklist_configarray
- session_recording_event_trigger_configarray
- session_replay_config
- survey_config
- access_controlboolean
- week_start_day
- primary_dashboardinteger
- live_events_columnsarray
- recording_domainsarray
- inject_web_appsboolean
- extra_settings
- modifiers
- has_completed_onboarding_for
- surveys_opt_inboolean
- heatmaps_opt_inboolean
- capture_dead_clicksboolean
Response
Request
PATCH 
Response
Status 200
Delete environments
Projects for the current organization.
Required API key scopes
project:writePath parameters
- idintegerA unique integer value identifying this team (soon to be environment). 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
DELETE 
Response
Status 204 No response body
Retrieve environments activity
Projects for the current organization.
Path parameters
- idintegerA unique integer value identifying this team (soon to be environment). 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET 
Response
Status 200 No response body
Update environments add product intent
Projects for the current organization.
Path parameters
- idintegerA unique integer value identifying this team (soon to be environment). 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- app_urlsarray
- namestring
- slack_incoming_webhookstring
- anonymize_ipsboolean
- completed_snippet_onboardingboolean
- test_account_filters
- test_account_filters_default_checkedboolean
- path_cleaning_filters
- is_demoboolean
- timezone
- data_attributes
- person_display_name_propertiesarray
- correlation_config
- autocapture_opt_outboolean
- autocapture_exceptions_opt_inboolean
- autocapture_web_vitals_opt_inboolean
- autocapture_web_vitals_allowed_metrics
- autocapture_exceptions_errors_to_ignore
- capture_console_log_opt_inboolean
- capture_performance_opt_inboolean
- session_recording_opt_inboolean
- session_recording_sample_ratestring
- session_recording_minimum_duration_millisecondsinteger
- session_recording_linked_flag
- session_recording_network_payload_capture_config
- session_recording_url_trigger_configarray
- session_recording_url_blocklist_configarray
- session_recording_event_trigger_configarray
- session_replay_config
- survey_config
- access_controlboolean
- week_start_day
- primary_dashboardinteger
- live_events_columnsarray
- recording_domainsarray
- inject_web_appsboolean
- extra_settings
- modifiers
- has_completed_onboarding_for
- surveys_opt_inboolean
- heatmaps_opt_inboolean
- capture_dead_clicksboolean
Request
PATCH 
Response
Status 200 No response body
Update environments complete product onboarding
Projects for the current organization.
Path parameters
- idintegerA unique integer value identifying this team (soon to be environment). 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- app_urlsarray
- namestring
- slack_incoming_webhookstring
- anonymize_ipsboolean
- completed_snippet_onboardingboolean
- test_account_filters
- test_account_filters_default_checkedboolean
- path_cleaning_filters
- is_demoboolean
- timezone
- data_attributes
- person_display_name_propertiesarray
- correlation_config
- autocapture_opt_outboolean
- autocapture_exceptions_opt_inboolean
- autocapture_web_vitals_opt_inboolean
- autocapture_web_vitals_allowed_metrics
- autocapture_exceptions_errors_to_ignore
- capture_console_log_opt_inboolean
- capture_performance_opt_inboolean
- session_recording_opt_inboolean
- session_recording_sample_ratestring
- session_recording_minimum_duration_millisecondsinteger
- session_recording_linked_flag
- session_recording_network_payload_capture_config
- session_recording_url_trigger_configarray
- session_recording_url_blocklist_configarray
- session_recording_event_trigger_configarray
- session_replay_config
- survey_config
- access_controlboolean
- week_start_day
- primary_dashboardinteger
- live_events_columnsarray
- recording_domainsarray
- inject_web_appsboolean
- extra_settings
- modifiers
- has_completed_onboarding_for
- surveys_opt_inboolean
- heatmaps_opt_inboolean
- capture_dead_clicksboolean
Request
PATCH 
Response
Status 200 No response body
Retrieve environments is generating demo data
Projects for the current organization.
Path parameters
- idintegerA unique integer value identifying this team (soon to be environment). 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET