{
  "opencollection": "1.0.0",
  "info": {
    "name": "PostHog actions groups API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "environments_groups_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/groups/",
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to list"
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search the group name"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/"
        },
        {
          "info": {
            "name": "environments_groups_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/environments/:environment_id/groups/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "environments_groups_activity_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/groups/activity/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Specify the id of the user to find groups for"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "environments_groups_delete_property_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/environments/:environment_id/groups/delete_property/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              },
              {
                "name": "group_key",
                "value": "",
                "type": "query",
                "description": "Specify the key of the group to find"
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "environments_groups_find_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/groups/find/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              },
              {
                "name": "group_key",
                "value": "",
                "type": "query",
                "description": "Specify the key of the group to find"
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "environments_groups_property_definitions_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/groups/property_definitions/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "environments_groups_property_values_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/groups/property_values/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "environments_groups_related_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/environments/:environment_id/groups/related/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Specify the id of the user to find groups for"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "environments_groups_update_property_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/environments/:environment_id/groups/update_property/",
            "params": [
              {
                "name": "environment_id",
                "value": "",
                "type": "path",
                "description": "Deprecated. Use /api/projects/{project_id}/ instead."
              },
              {
                "name": "group_key",
                "value": "",
                "type": "query",
                "description": "Specify the key of the group to find"
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "groups_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/groups/",
            "params": [
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The pagination cursor value."
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to list"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "Search the group name"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/"
        },
        {
          "info": {
            "name": "groups_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/projects/:project_id/groups/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "groups_activity_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/groups/activity/",
            "params": [
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Specify the id of the user to find groups for"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "groups_delete_property_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/projects/:project_id/groups/delete_property/",
            "params": [
              {
                "name": "group_key",
                "value": "",
                "type": "query",
                "description": "Specify the key of the group to find"
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "groups_find_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/groups/find/",
            "params": [
              {
                "name": "group_key",
                "value": "",
                "type": "query",
                "description": "Specify the key of the group to find"
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "groups_property_definitions_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/groups/property_definitions/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "groups_property_values_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/groups/property_values/",
            "params": [
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "groups_related_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/projects/:project_id/groups/related/",
            "params": [
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Specify the id of the user to find groups for"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        },
        {
          "info": {
            "name": "groups_update_property_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/projects/:project_id/groups/update_property/",
            "params": [
              {
                "name": "group_key",
                "value": "",
                "type": "query",
                "description": "Specify the key of the group to find"
              },
              {
                "name": "group_type_index",
                "value": "",
                "type": "query",
                "description": "Specify the group type to find"
              },
              {
                "name": "project_id",
                "value": "",
                "type": "path",
                "description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          }
        }
      ]
    }
  ],
  "bundled": true
}