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 suggestiontitle
- required - title of suggestiondescription
- optional - more context about the suggested pagecategory
- optional - the category to publish the page toassignable_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