API Endpoint: Suggest Page Update
The Suggest Page Update endpoint creates a new suggestion to update an existing page.
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 suggestionupdate
- required - (boolean) indicates this is a suggestion for an update to an existing page (instead of a new page)page_id
- required - the id of the page that needs updatingdescription
- optional - more context about the suggested changeassignable_id
- optional - the id of the user to assign the suggestion
Example:
curl -X POST -H 'Content-Type: application/json' \
--data \
'{
"api_key":"xxxxxxxxxxxxxxxxxx1234567890",
"update":true,
"description":"Update this outdated page",
"page_id":2,
"assignable_id":22
}' \
https://app.tettra.co/api/teams/2/suggestions