{
  "opencollection": "1.0.0",
  "info": {
    "name": "SingleFile External API Documentation documents organizations API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.demo.singlefile.ai/o/token/",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "organizations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "organizations_contacts_create_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/contacts/create",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "View to create contacts for an organization"
        },
        {
          "info": {
            "name": "organizations_contacts_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/contacts",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              },
              {
                "name": "page_number",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              }
            ]
          },
          "docs": "View to list all contacts associated with an organization"
        },
        {
          "info": {
            "name": "organizations_contacts_read",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/contacts/:contact_id",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "contact_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "View to retrieve and update a specific contact for an organization"
        },
        {
          "info": {
            "name": "organizations_contacts_update",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/contacts/:contact_id",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "contact_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "View to retrieve and update a specific contact for an organization"
        },
        {
          "info": {
            "name": "organizations_contacts_partial_update",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/contacts/:contact_id",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "contact_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "View to retrieve and update a specific contact for an organization"
        },
        {
          "info": {
            "name": "organizations_create_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          }
        },
        {
          "info": {
            "name": "organizations_documents_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/documents",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "entity_id",
                "value": "",
                "type": "query",
                "description": "entity_id"
              },
              {
                "name": "jurisdiction",
                "value": "",
                "type": "query",
                "description": "jurisdiction"
              },
              {
                "name": "created_before",
                "value": "",
                "type": "query",
                "description": "created_before"
              },
              {
                "name": "created_after",
                "value": "",
                "type": "query",
                "description": "created_after"
              },
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              },
              {
                "name": "page_number",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              }
            ]
          }
        },
        {
          "info": {
            "name": "organizations_documents_upload_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/documents/upload",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "organizations_entities_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/entities",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              },
              {
                "name": "page_number",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              }
            ]
          }
        },
        {
          "info": {
            "name": "organizations_entity_create_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/entity/create",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "organizations_list_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/list",
            "params": [
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              },
              {
                "name": "page_number",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              }
            ]
          }
        },
        {
          "info": {
            "name": "organizations_orders_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/orders",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              },
              {
                "name": "page_number",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              }
            ]
          }
        },
        {
          "info": {
            "name": "organizations_read",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              }
            ]
          }
        },
        {
          "info": {
            "name": "organizations_tasks_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.demo.singlefile.ai/external-api/v1/organizations/:organization_id/tasks",
            "params": [
              {
                "name": "organization_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "ordering",
                "value": "",
                "type": "query",
                "description": "Which field to use when ordering the results."
              },
              {
                "name": "search",
                "value": "",
                "type": "query",
                "description": "A search term."
              },
              {
                "name": "page_number",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              }
            ]
          }
        }
      ]
    }
  ],
  "bundled": true
}