site logo

Tettra Help Docs

  • Category IconGetting Started
  • Category IconUsing Tettra
  • Category IconKai AI Features
  • Category IconIntegrations
    • Category IconSlack Integration
    • Category IconGoogle Workspace Integration
    • Category IconGitHub Integration
    • Category IconZapier Integration
    • Category IconNotion Integration
    • Category IconAPI Overview
      • What is the Tettra API?
      • How to find your API credentials
      • API Endpoint: Search
      • API Endpoint: Create Page
      • API Endpoint: Create a Question
      • API Endpoint: Suggest a New Page
      • API Endpoint: Suggest Page Update
  • Category IconUsers & Permissions
  • Category IconAccount Management
  • Category IconBilling & Payments
  • Category IconSecurity

API Endpoint: Suggest a New Page

The Suggest a New Page Endpoint creates a new page suggestion.


 URL: https://app.tettra.co/api/teams/{{team_id}}/suggestions 


 HTTP Method: POST


 Arguments:
 

  • api_key - required - your API key; this determines the creator of the suggestion  
  • title  - required - title of suggestion 
  • description  - optional - more context about the suggested page 
  • category - optional - the category to publish the page to 
  • assignable_id - optional - the id of the user to assign the suggestion


 Example:

curl -X POST  -H 'Content-Type: application/json' \
    --data \
    '{
         "api_key":"xxxxxxxxxxxxxxxxxx1234567890",
         "title":"A new page about something I want to know",
         "description":"A question that should be documented",
         "category":2,
         "assignable_id":22
    }' \
    https://app.tettra.co/api/teams/2/suggestions


Related 

  • API overview
Previous
API Endpoint: Create a Question
Next
API Endpoint: Suggest Page Update
Powered by Tettra