{
  "info": {
    "_postman_id": "cbed1104-9da3-4188-ba09-67d3f87208d2",
    "name": "PostHog actions legal_documents API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T11:07:21.000Z",
    "updatedAt": "2026-07-28T11:07:22.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-cbed1104-9da3-4188-ba09-67d3f87208d2"
  },
  "item": [
    {
      "name": "api",
      "item": [
        {
          "name": "organizations",
          "item": [
            {
              "name": "{organization_id}",
              "item": [
                {
                  "name": "legal_documents",
                  "item": [
                    {
                      "name": "{id}",
                      "item": [
                        {
                          "name": "download",
                          "item": [
                            {
                              "name": "legal documents download retrieve",
                              "id": "7ad673a2-af62-4ed9-8a7f-2204c37f2039",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/api/organizations/:organization_id/legal_documents/:id/download/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "organizations",
                                    ":organization_id",
                                    "legal_documents",
                                    ":id",
                                    "download",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "id": "9d7bf03a-14c3-4a24-8f7a-c564c3845321",
                                      "key": "organization_id",
                                      "value": "<string>",
                                      "description": "(Required) ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/."
                                    },
                                    {
                                      "id": "1e8037be-f3ce-49f3-8d7c-b398b155b80a",
                                      "key": "id",
                                      "value": "<string>",
                                      "description": "(Required) "
                                    }
                                  ]
                                },
                                "description": "Short-lived redirect to the signed PDF in object storage. 404 while the\nenvelope is still out for signature (or if the upload hasn't completed\nyet). The underlying presigned URL expires in ~60s; clients should hit\nthis endpoint each time they want to view the PDF rather than caching."
                              },
                              "response": [
                                {
                                  "id": "bdbf3dd4-21fd-467a-a3cb-e83c763a3b3f",
                                  "name": "No response body",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [],
                                    "url": {
                                      "raw": "{{baseUrl}}/api/organizations/:organization_id/legal_documents/:id/download/",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "api",
                                        "organizations",
                                        ":organization_id",
                                        "legal_documents",
                                        ":id",
                                        "download",
                                        ""
                                      ],
                                      "variable": [
                                        {
                                          "key": "organization_id"
                                        },
                                        {
                                          "key": "id"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Found",
                                  "code": 302,
                                  "_postman_previewlanguage": "text",
                                  "header": [],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": null,
                                  "createdAt": "2026-07-28T11:07:22.000Z",
                                  "updatedAt": "2026-07-28T11:07:22.000Z",
                                  "uid": "35240-bdbf3dd4-21fd-467a-a3cb-e83c763a3b3f"
                                },
                                {
                                  "id": "1c43aea3-6e7c-44f3-89c0-6d0e906e3b5c",
                                  "name": "No response body",
                                  "originalRequest": {
                                    "method": "GET",
                                    "header": [],
                                    "url": {
                                      "raw": "{{baseUrl}}/api/organizations/:organization_id/legal_documents/:id/download/",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "api",
                                        "organizations",
                                        ":organization_id",
                                        "legal_documents",
                                        ":id",
                                        "download",
                                        ""
                                      ],
                                      "variable": [
                                        {
                                          "key": "organization_id"
                                        },
                                        {
                                          "key": "id"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Not Found",
                                  "code": 404,
                                  "_postman_previewlanguage": "text",
                                  "header": [],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": null,
                                  "createdAt": "2026-07-28T11:07:22.000Z",
                                  "updatedAt": "2026-07-28T11:07:22.000Z",
                                  "uid": "35240-1c43aea3-6e7c-44f3-89c0-6d0e906e3b5c"
                                }
                              ],
                              "createdAt": "2026-07-28T11:07:22.000Z",
                              "updatedAt": "2026-07-28T11:07:22.000Z",
                              "uid": "35240-7ad673a2-af62-4ed9-8a7f-2204c37f2039"
                            }
                          ],
                          "id": "3d3465df-c3f5-4837-9024-3784eae26a11",
                          "createdAt": "2026-07-28T11:07:22.000Z",
                          "updatedAt": "2026-07-28T11:07:22.000Z",
                          "uid": "35240-3d3465df-c3f5-4837-9024-3784eae26a11"
                        },
                        {
                          "name": "legal documents retrieve",
                          "id": "75b42779-3475-421c-9e4f-d8ad537f8797",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "auth": {
                              "type": "bearer",
                              "bearer": [
                                {
                                  "key": "token",
                                  "value": "{{bearerToken}}",
                                  "type": "string"
                                }
                              ]
                            },
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/organizations/:organization_id/legal_documents/:id/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "organizations",
                                ":organization_id",
                                "legal_documents",
                                ":id",
                                ""
                              ],
                              "variable": [
                                {
                                  "id": "614a2b81-2197-4f0a-a413-5f38c0fe6d09",
                                  "key": "organization_id",
                                  "value": "<string>",
                                  "description": "(Required) ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/."
                                },
                                {
                                  "id": "e48cbf2b-c09d-4fe5-81b7-4ed8f7f71d6b",
                                  "key": "id",
                                  "value": "<string>",
                                  "description": "(Required) "
                                }
                              ]
                            }
                          },
                          "response": [
                            {
                              "id": "0706564c-642f-4384-911c-14c2cb339306",
                              "name": "New Response",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: bearer",
                                    "key": "Authorization",
                                    "value": "Bearer <token>"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/api/organizations/:organization_id/legal_documents/:id/",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "api",
                                    "organizations",
                                    ":organization_id",
                                    "legal_documents",
                                    ":id",
                                    ""
                                  ],
                                  "variable": [
                                    {
                                      "key": "organization_id"
                                    },
                                    {
                                      "key": "id"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"company_name\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"created_by\": {\n    \"email\": \"<string>\",\n    \"first_name\": \"<string>\"\n  },\n  \"document_type\": \"<string>\",\n  \"id\": \"<uuid>\",\n  \"representative_email\": \"<string>\",\n  \"status\": \"<string>\"\n}",
                              "createdAt": "2026-07-28T11:07:22.000Z",
                              "updatedAt": "2026-07-28T11:07:22.000Z",
                              "uid": "35240-0706564c-642f-4384-911c-14c2cb339306"
                            }
                          ],
                          "createdAt": "2026-07-28T11:07:22.000Z",
                          "updatedAt": "2026-07-28T11:07:22.000Z",
                          "uid": "35240-75b42779-3475-421c-9e4f-d8ad537f8797"
                        }
                      ],
                      "id": "dfbf129a-793c-4e62-b1f2-5dfec446d441",
                      "createdAt": "2026-07-28T11:07:22.000Z",
                      "updatedAt": "2026-07-28T11:07:22.000Z",
                      "uid": "35240-dfbf129a-793c-4e62-b1f2-5dfec446d441"
                    },
                    {
                      "name": "legal documents list",
                      "id": "eb588210-52aa-4357-88e3-4ab2142324d3",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "bearer",
                          "bearer": [
                            {
                              "key": "token",
                              "value": "{{bearerToken}}",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/api/organizations/:organization_id/legal_documents/?limit=<integer>&offset=<integer>",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "organizations",
                            ":organization_id",
                            "legal_documents",
                            ""
                          ],
                          "query": [
                            {
                              "description": "Number of results to return per page.",
                              "key": "limit",
                              "value": "<integer>"
                            },
                            {
                              "description": "The initial index from which to return the results.",
                              "key": "offset",
                              "value": "<integer>"
                            }
                          ],
                          "variable": [
                            {
                              "id": "31a00046-f9cc-4f1f-90ec-46f28260c136",
                              "key": "organization_id",
                              "value": "<string>",
                              "description": "(Required) ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/."
                            }
                          ]
                        }
                      },
                      "response": [
                        {
                          "id": "06e7e106-0387-42e3-a9de-938e31cca235",
                          "name": "New Response",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/api/organizations/:organization_id/legal_documents/?limit=<integer>&offset=<integer>",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "organizations",
                                ":organization_id",
                                "legal_documents",
                                ""
                              ],
                              "query": [
                                {
                                  "description": "Number of results to return per page.",
                                  "key": "limit",
                                  "value": "<integer>"
                                },
                                {
                                  "description": "The initial index from which to return the results.",
                                  "key": "offset",
                                  "value": "<integer>"
                                }
                              ],
                              "variable": [
                                {
                                  "key": "organization_id"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"count\": \"<integer>\",\n  \"results\": [\n    {\n      \"company_name\": \"<string>\",\n      \"created_at\": \"<dateTime>\",\n      \"created_by\": {\n        \"email\": \"<string>\",\n        \"first_name\": \"<string>\"\n      },\n      \"document_type\": \"<string>\",\n      \"id\": \"<uuid>\",\n      \"representative_email\": \"<string>\",\n      \"status\": \"<string>\"\n    },\n    {\n      \"company_name\": \"<string>\",\n      \"created_at\": \"<dateTime>\",\n      \"created_by\": {\n        \"email\": \"<string>\",\n        \"first_name\": \"<string>\"\n      },\n      \"document_type\": \"<string>\",\n      \"id\": \"<uuid>\",\n      \"representative_email\": \"<string>\",\n      \"status\": \"<string>\"\n    }\n  ],\n  \"next\": \"<uri>\",\n  \"previous\": \"<uri>\"\n}",
                          "createdAt": "2026-07-28T11:07:22.000Z",
                          "updatedAt": "2026-07-28T11:07:22.000Z",
                          "uid": "35240-06e7e106-0387-42e3-a9de-938e31cca235"
                        }
                      ],
                      "createdAt": "2026-07-28T11:07:22.000Z",
                      "updatedAt": "2026-07-28T11:07:22.000Z",
                      "uid": "35240-eb588210-52aa-4357-88e3-4ab2142324d3"
                    },
                    {
                      "name": "legal documents create",
                      "id": "3f2fc361-5f1e-4842-893d-1fc395731773",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "auth": {
                          "type": "bearer",
                          "bearer": [
                            {
                              "key": "token",
                              "value": "{{bearerToken}}",
                              "type": "string"
                            }
                          ]
                        },
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"company_address\": \"<string>\",\n  \"company_name\": \"<string>\",\n  \"document_type\": \"DPA\",\n  \"representative_email\": \"<email>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/api/organizations/:organization_id/legal_documents/",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "api",
                            "organizations",
                            ":organization_id",
                            "legal_documents",
                            ""
                          ],
                          "variable": [
                            {
                              "id": "5adb4745-65f0-4e94-ae99-8705b7a3abef",
                              "key": "organization_id",
                              "value": "<string>",
                              "description": "(Required) ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/."
                            }
                          ]
                        }
                      },
                      "response": [
                        {
                          "id": "6197640e-f550-4042-9d6a-3e95841a4a6e",
                          "name": "New Response",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"company_address\": \"<string>\",\n  \"company_name\": \"<string>\",\n  \"document_type\": \"DPA\",\n  \"representative_email\": \"<email>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/api/organizations/:organization_id/legal_documents/",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "api",
                                "organizations",
                                ":organization_id",
                                "legal_documents",
                                ""
                              ],
                              "variable": [
                                {
                                  "key": "organization_id"
                                }
                              ]
                            }
                          },
                          "status": "Created",
                          "code": 201,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"company_name\": \"<string>\",\n  \"created_at\": \"<dateTime>\",\n  \"created_by\": {\n    \"email\": \"<string>\",\n    \"first_name\": \"<string>\"\n  },\n  \"document_type\": \"<string>\",\n  \"id\": \"<uuid>\",\n  \"representative_email\": \"<string>\",\n  \"status\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T11:07:22.000Z",
                          "updatedAt": "2026-07-28T11:07:22.000Z",
                          "uid": "35240-6197640e-f550-4042-9d6a-3e95841a4a6e"
                        }
                      ],
                      "createdAt": "2026-07-28T11:07:22.000Z",
                      "updatedAt": "2026-07-28T11:07:22.000Z",
                      "uid": "35240-3f2fc361-5f1e-4842-893d-1fc395731773"
                    }
                  ],
                  "id": "4c6376c6-6816-41a6-8893-f15729807143",
                  "createdAt": "2026-07-28T11:07:22.000Z",
                  "updatedAt": "2026-07-28T11:07:22.000Z",
                  "uid": "35240-4c6376c6-6816-41a6-8893-f15729807143"
                }
              ],
              "id": "ca102b1c-0a5b-4d1b-be62-71d23fd89b3e",
              "createdAt": "2026-07-28T11:07:22.000Z",
              "updatedAt": "2026-07-28T11:07:22.000Z",
              "uid": "35240-ca102b1c-0a5b-4d1b-be62-71d23fd89b3e"
            }
          ],
          "id": "64c643e3-501a-4fb7-8621-f8b74ae674ab",
          "createdAt": "2026-07-28T11:07:22.000Z",
          "updatedAt": "2026-07-28T11:07:22.000Z",
          "uid": "35240-64c643e3-501a-4fb7-8621-f8b74ae674ab"
        }
      ],
      "id": "7d8f0891-c723-452a-8ce4-ee598f9b715e",
      "createdAt": "2026-07-28T11:07:22.000Z",
      "updatedAt": "2026-07-28T11:07:22.000Z",
      "uid": "35240-7d8f0891-c723-452a-8ce4-ee598f9b715e"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "/"
    }
  ]
}