# SafeBase Documentation > Documentation for SafeBase ## API Reference: SafeBase API documentation - Accounts - [Get accounts](https://docs.safebase.io/reference/getaccounts.md): Gets all accounts that match the given criteria. Five filter query parameters can be sent and they work with an 'AND' relationship: 1. Account name 2. Member email 3. Domain name 4. Sfdc… - [Create account](https://docs.safebase.io/reference/addaccount-1.md): Adds a new account to SafeBase - [Get account by ID](https://docs.safebase.io/reference/getaccount-1.md): Gets an account by ID - [Delete account by ID](https://docs.safebase.io/reference/deleteaccount-1.md): Deletes an account by ID - [Edit account](https://docs.safebase.io/reference/patch_accounts-id-1.md): Edits an existing account on SafeBase One query parameter must be sent 1. accountId Five parameters can be sent in the body 1. name 2. description 2. sfdcAccountId 3. ndaProvider 4.… - [Get account page URL](https://docs.safebase.io/reference/getaccountpageurl-1.md): Gets an account's private page URL - Account Members - [Search for members](https://docs.safebase.io/reference/searchforaccountmembers-1.md): Search for a member based on account criteria and member criteria - [Add a member](https://docs.safebase.io/reference/addmembertoaccount-1.md): Adds a member to an account - [Delete a member](https://docs.safebase.io/reference/deletememberfromaccount-1.md): Deletes a member from an account - [Notify a member](https://docs.safebase.io/reference/accountmembernotify-1.md): Sends an email invitation to an account member. **email**: This parameter can be a single email (string) to notify one member, or an array of emails (string[]) to notify multiple members.… - Documents - [Get a document by ID or external ID](https://docs.safebase.io/reference/getdocument.md): Fetch a single document by its ID or external ID, using a query parameter to indicate which - [Delete a document by ID](https://docs.safebase.io/reference/deletedocument.md): Delete a single document by its ID - [Update document by ID](https://docs.safebase.io/reference/patchdocument.md): Patch update a document by ID - [Get all documents](https://docs.safebase.io/reference/getdocuments.md): Get all documents, with optional filtering - [Request file upload](https://docs.safebase.io/reference/postdocumentupload.md): Request a presigned url to upload a file. This file can then be used to create a new Document in Safebase or to replace a file for an existing Document. Once granted a presigned url, you should POST… - [Create document](https://docs.safebase.io/reference/putdocumentupload.md): Creates a new Document or replaces a file backing an existing Document. - [Get document types](https://docs.safebase.io/reference/getdocumenttypes.md): Get all document types - Knowledge Base - [Search Knowledge Base](https://docs.safebase.io/reference/searchknowledgebase-1.md): Search Knowledge Base by a given search text and receive the first page of results - [Create Knowledge Base Entry](https://docs.safebase.io/reference/addkbentry-1.md): Adds a new entry to your Knowledge Base. - [Update Knowledge Base Entry](https://docs.safebase.io/reference/updatekbentry-1.md): Updates a Knowledge Base entry by ID. - Requests - [Get access requests](https://docs.safebase.io/reference/getrequests-1.md): Gets all access requests - [Approve access request](https://docs.safebase.io/reference/approverequest-1.md): Approve access request Takes as input an object that must have one of two keys (not both): 1. accountId - The account ID under which to approve the request 2. account - Account information.… - [Decline access request](https://docs.safebase.io/reference/declinerequest-1.md): Decline access request \n\n**Idempotent Operation**: If the request has already been approved or declined, this endpoint will return a 409 Conflict response instead of an error. This allows for safe… - Organization - [Get current Organization](https://docs.safebase.io/reference/getorganization-1.md): Gets current Organization - [Get Organization NDA settings](https://docs.safebase.io/reference/getorganizationndasettings-1.md): Gets Organization NDA settings - [Get Organization settings](https://docs.safebase.io/reference/getorganizationsettings-1.md): Gets Organization settings - [Get current Organization Member](https://docs.safebase.io/reference/getorganizationmemberme-1.md): Gets current Organization Member - Portals - [Get All Products](https://docs.safebase.io/reference/getportal-1.md): Gets all the products that make up a given portal. This endpoint will default to only pulling in the data that has been made public - Questionnaires - [Upload Questionnaire](https://docs.safebase.io/reference/submitqnrfile.md): Submits a new questionnaire file to SafeBase The following params must be sent as **form data** key pair values: - qnr - accountId - productId (optional for single-product orgs, required for… - [Get completed questionnaire](https://docs.safebase.io/reference/getcompletedquestionnaireurl.md): Gets a signed URL for a completed questionnaire by ID. The URL can be used to download the completed questionnaire file. The URL is valid for 60 minutes. - Trust Center Updates - [Create topic](https://docs.safebase.io/reference/createtopic-1.md): Create a top-level Trust Center Update topic - [List topics](https://docs.safebase.io/reference/listtopics-1.md): List top-level Trust Center Update topics - [Update topic](https://docs.safebase.io/reference/updatetrustcentertopic-1.md): Update a Trust Center topic - [Delete topic](https://docs.safebase.io/reference/deletetrustcentertopic-1.md): Delete a Trust Center topic - [Get topic by ID](https://docs.safebase.io/reference/gettrustcentertopic-1.md): Get a Trust Center topic - [Create update](https://docs.safebase.io/reference/createtrustcenterupdate-1.md): Create a Trust Center Update - [Get update by ID](https://docs.safebase.io/reference/gettrustcenterupdatebyid-1.md): Get a Trust Center Update by ID - [Edit update](https://docs.safebase.io/reference/updatetrustcenterupdate-1.md): Edit a Trust Center Update - [Delete update](https://docs.safebase.io/reference/deletetrustcenterupdate-1.md): Delete a Trust Center Update - Products - [Get products](https://docs.safebase.io/reference/getproducts-1.md): Gets all products - Tags - [Get tags](https://docs.safebase.io/reference/gettags.md): Gets all tags - Webpages - [Get a webpage by ID](https://docs.safebase.io/reference/getwebpage.md): Fetch a single webpage by its ID - [Update a webpage by ID](https://docs.safebase.io/reference/updatewebpage.md): Update a webpage's mutable fields. The URL cannot be changed. Product associations are replaced \ wholesale when `productIds` or `isGlobalProduct` is provided. - [Delete a webpage by ID](https://docs.safebase.io/reference/deletewebpage.md): Delete a single webpage by its ID and remove it from the search index - [Refresh a webpage](https://docs.safebase.io/reference/refreshwebpage.md): Trigger an on-demand re-scrape of the webpage. Requests are de-duplicated within a short window, \ so rapid repeat calls collapse to a single scrape. - [List webpages](https://docs.safebase.io/reference/getwebpages.md): List all webpages for the organization, ordered by creation date (newest first). - [Create webpage](https://docs.safebase.io/reference/createwebpage.md): Create a webpage to be scraped and indexed. The URL is immutable — to change it, delete the \ webpage and create a new one. A webpage must either apply to every product \ (`isGlobalProduct: true`) or…