Organizations
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
POST | |
GET | |
POST | |
GET | |
DELETE | |
GET | |
GET | |
PATCH | |
DELETE | |
GET | |
GET | |
GET | |
GET | |
POST | |
GET | |
PATCH | |
DELETE |
Create invites bulk
Required API key scopes
organization_member:writeRequest parameters
- target_emailstring
- first_namestring
- level
- messagestringnull
- private_project_access
- send_emailbooleanDefault:
true - combine_pending_invitesbooleanDefault:
false
Example request
POST /api /organizations /:organization_id /invites /bulkExample response
Status 200 No response body
Create invites delegate
Create an onboarding delegation invite: an admin-level invite flagged as a setup delegation. Sends a single dedicated delegation email and records the inviting user as having delegated.
Required API key scopes
organization_member:writeRequest parameters
- target_emailstring
- messagestring
- step_at_delegationstring
Response
Example request
POST /api /organizations /:organization_id /invites /delegateExample response
Status 200
List all legal documents
Required API key scopes
legal_document:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /organizations /:organization_id /legal_documentsExample response
Status 200
Create legal documents
Required API key scopes
legal_document:writeRequest parameters
- document_type
- company_namestring
- company_addressstring
- representative_emailstring
Response
Example request
POST /api /organizations /:organization_id /legal_documentsExample response
Status 201
Retrieve legal documents
Required API key scopes
legal_document:readPath parameters
- idstring
Response
Example request
GET /api /organizations /:organization_id /legal_documents /:idExample response
Status 200
Delete legal documents
Delete an unsigned legal document. The PandaDoc envelope is voided first so the original signer can no longer complete it; only if that succeeds is the row removed, freeing the unique-per-org-per-type constraint so a fresh document can be generated.
Returns 503 if the PandaDoc void fails — the row stays in that case and the frontend should prompt the user to retry. Returns 403 for signed documents (legal artifacts; staff can still delete signed rows from Django admin).
Required API key scopes
legal_document:writePath parameters
- idstring
Example request
DELETE /api /organizations /:organization_id /legal_documents /:idExample response
Status 204 No response body
Status 403 No response body
Status 404 No response body
Status 503 No response body
Retrieve legal documents download
Short-lived redirect to the signed PDF in object storage. 404 while the envelope is still out for signature (or if the upload hasn't completed yet). The underlying presigned URL expires in ~60s; clients should hit this endpoint each time they want to view the PDF rather than caching.
Path parameters
- idstring
Example request
GET /api /organizations /:organization_id /legal_documents /:id /downloadExample response
Status 302 No response body
Status 404 No response body
List all members
Required API key scopes
organization_member:readQuery parameters
- limitinteger
- offsetinteger
- orderstringOne of:
"-joined_at""joined_at" - searchstring
Response
Example request
GET /api /organizations /:organization_id /membersExample response
Status 200
Update members
Required API key scopes
organization_member:writePath parameters
- user__uuidstring
Request parameters
- level
Response
Example request
PATCH /api /organizations /:organization_id /members /:user__uuidExample response
Status 200
Delete members
Required API key scopes
organization_member:writePath parameters
- user__uuidstring
Example request
DELETE /api /organizations /:organization_id /members /:user__uuidExample response
Status 204 No response body
Retrieve members github login
Required API key scopes
organization_member:readPath parameters
- user__uuidstring
Response
Example request
GET /api /organizations /:organization_id /members /:user__uuid /github_loginExample response
Status 200
Retrieve members scoped api keys
Path parameters
- user__uuidstring
Response
Example request
GET /api /organizations /:organization_id /members /:user__uuid /scoped_api_keysExample response
Status 200
List all oauth applications
ViewSet for listing OAuth applications at the organization level (read-only).
Required API key scopes
organization:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /organizations /:organization_id /oauth_applicationsExample response
Status 200
List all organizations projects
Projects for the current organization.
Required API key scopes
project:readQuery parameters
- limitinteger
- offsetinteger
- searchstring
Response
Example request
GET /api /organizations /:organization_id /projectsExample response
Status 200
Create organizations projects
Projects for the current organization.
Required API key scopes
project:writeRequest parameters
- namestring
- product_descriptionstringnull
- app_urlsarray
- anonymize_ipsboolean
- completed_snippet_onboardingboolean
- test_account_filters
- test_account_filters_default_checkedbooleannull
- path_cleaning_filters
- is_demoboolean
- timezone
- data_attributes
- person_display_name_propertiesarraynull
- correlation_config
- autocapture_opt_outbooleannull
- autocapture_exceptions_opt_inbooleannull
- autocapture_web_vitals_opt_inbooleannull
- autocapture_web_vitals_allowed_metrics
- autocapture_exceptions_errors_to_ignore
- capture_console_log_opt_inbooleannull
- capture_performance_opt_inbooleannull
- session_recording_opt_inboolean
- session_recording_sample_ratestringnull
- session_recording_minimum_duration_millisecondsintegernull
- session_recording_linked_flag
- session_recording_network_payload_capture_config
- session_recording_masking_config
- session_recording_url_trigger_configarraynull
- session_recording_url_blocklist_configarraynull
- session_recording_event_trigger_configarraynull
- session_recording_trigger_match_type_configstringnull
- session_recording_trigger_groups
- session_recording_retention_period
- session_replay_config
- survey_config
- access_controlboolean
- week_start_day
- primary_dashboardintegernull
- live_events_columnsarraynull
- recording_domainsarraynull
- inject_web_appsbooleannull
- extra_settings
- modifiers
- has_completed_onboarding_for
- surveys_opt_inbooleannull
- heatmaps_opt_inbooleannull
- flags_persistence_defaultbooleannull
- receive_org_level_activity_logsbooleannull
- business_model
- conversations_enabledbooleannull
- conversations_settings
- logs_settings
- proactive_tasks_enabledbooleannull
- revenue_analytics_config
- marketing_analytics_config
- customer_analytics_config
- workflows_config
- base_currency
- capture_dead_clicksbooleannull
- cookieless_server_hash_mode
- human_friendly_comparison_periodsbooleannull
- feature_flag_confirmation_enabledbooleannull
- feature_flag_confirmation_messagestringnull
- default_evaluation_contexts_enabledbooleannull
- require_evaluation_contextsbooleannull
- default_data_themeintegernull
- onboarding_tasks
- web_analytics_pre_aggregated_tables_enabledbooleannull
Response
Example request
POST /api /organizations /:organization_id /projectsExample response
Status 201
Retrieve organizations projects
Retrieve a project and its settings.
Required API key scopes
project:readPath parameters
- idinteger
Response
Example request
GET /api /organizations /:organization_id /projects /:idExample response
Status 200
Update organizations projects
Update one or more of a project's settings. Only the fields included in the request body are changed.
Required API key scopes
project:writePath parameters
- idinteger
Request parameters
- namestring
- product_descriptionstringnull
- app_urlsarray
- anonymize_ipsboolean
- completed_snippet_onboardingboolean
- test_account_filters
- test_account_filters_default_checkedbooleannull
- path_cleaning_filters
- is_demoboolean
- timezone
- data_attributes
- person_display_name_propertiesarraynull
- correlation_config
- autocapture_opt_outbooleannull
- autocapture_exceptions_opt_inbooleannull
- autocapture_web_vitals_opt_inbooleannull
- autocapture_web_vitals_allowed_metrics
- autocapture_exceptions_errors_to_ignore
- capture_console_log_opt_inbooleannull
- capture_performance_opt_inbooleannull
- session_recording_opt_inboolean
- session_recording_sample_ratestringnull
- session_recording_minimum_duration_millisecondsintegernull
- session_recording_linked_flag
- session_recording_network_payload_capture_config
- session_recording_masking_config
- session_recording_url_trigger_configarraynull
- session_recording_url_blocklist_configarraynull
- session_recording_event_trigger_configarraynull
- session_recording_trigger_match_type_configstringnull
- session_recording_trigger_groups
- session_recording_retention_period
- session_replay_config
- survey_config
- access_controlboolean
- week_start_day
- primary_dashboardintegernull
- live_events_columnsarraynull
- recording_domainsarraynull
- inject_web_appsbooleannull
- extra_settings
- modifiers
- has_completed_onboarding_for
- surveys_opt_inbooleannull
- heatmaps_opt_inbooleannull
- flags_persistence_defaultbooleannull
- receive_org_level_activity_logsbooleannull
- business_model
- conversations_enabledbooleannull
- conversations_settings
- logs_settings
- proactive_tasks_enabledbooleannull
- revenue_analytics_config
- marketing_analytics_config
- customer_analytics_config
- workflows_config
- base_currency
- capture_dead_clicksbooleannull
- cookieless_server_hash_mode
- human_friendly_comparison_periodsbooleannull
- feature_flag_confirmation_enabledbooleannull
- feature_flag_confirmation_messagestringnull
- default_evaluation_contexts_enabledbooleannull
- require_evaluation_contextsbooleannull
- default_data_themeintegernull
- onboarding_tasks
- web_analytics_pre_aggregated_tables_enabledbooleannull
Response
Example request
PATCH /api /organizations /:organization_id /projects /:idExample response
Status 200
Delete organizations projects
Projects for the current organization.
Required API key scopes
project:writePath parameters
- idinteger
Example request
DELETE /api /organizations /:organization_id /projects /:id