Parchment Docs

Feedback

User feedback and feature requests

List feedback boards

Lists available feedback boards and whether automatic portal login is configured.

GET
/feedback/boards

Response Body

curl -X GET "https://example.com/feedback/boards"
fetch("https://example.com/feedback/boards")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://example.com/feedback/boards"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://example.com/feedback/boards"

response = requests.request("GET", url)

print(response.text)
Empty

Submit feedback

POST
/feedback

Request Body

application/jsonRequired
boardIdRequiredstring
Minimum length: 1
titleRequiredstring
Minimum length: 1Maximum length: 200
contentstring
Maximum length: 10000

Response Body

curl -X POST "https://example.com/feedback/" \
  -H "Content-Type: application/json" \
  -d '{
    "boardId": "string",
    "title": "string",
    "content": "string"
  }'
const body = JSON.stringify({
  "boardId": "string",
  "title": "string",
  "content": "string"
})

fetch("https://example.com/feedback/", {
  body
})
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
  "strings"
)

func main() {
  url := "https://example.com/feedback/"
  body := strings.NewReader(`{
    "boardId": "string",
    "title": "string",
    "content": "string"
  }`)
  req, _ := http.NewRequest("POST", url, body)
  req.Header.Add("Content-Type", "application/json")
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://example.com/feedback/"
body = {
  "boardId": "string",
  "title": "string",
  "content": "string"
}
response = requests.request("POST", url, json = body, headers = {
  "Content-Type": "application/json"
})

print(response.text)
Empty

Sign in to the feedback portal

Exchanges the authenticated Parchment identity for a one-time feedback portal login URL. Staff accounts receive the ordinary portal URL. No passwords or reusable provider session tokens are returned.

POST
/feedback/portal-login

Request Body

application/jsonRequired
postUrlstring
Maximum length: 2048Format: "uri"

Response Body

TypeScript Definitions

Use the response body type in TypeScript.

urlRequiredstring
Format: "uri"

TypeScript Definitions

Use the response body type in TypeScript.

messageRequiredstring

TypeScript Definitions

Use the response body type in TypeScript.

messageRequiredstring

TypeScript Definitions

Use the response body type in TypeScript.

messageRequiredstring
curl -X POST "https://example.com/feedback/portal-login" \
  -H "Content-Type: application/json" \
  -d '{
    "postUrl": "http://example.com"
  }'
const body = JSON.stringify({
  "postUrl": "http://example.com"
})

fetch("https://example.com/feedback/portal-login", {
  body
})
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
  "strings"
)

func main() {
  url := "https://example.com/feedback/portal-login"
  body := strings.NewReader(`{
    "postUrl": "http://example.com"
  }`)
  req, _ := http.NewRequest("POST", url, body)
  req.Header.Add("Content-Type", "application/json")
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://example.com/feedback/portal-login"
body = {
  "postUrl": "http://example.com"
}
response = requests.request("POST", url, json = body, headers = {
  "Content-Type": "application/json"
})

print(response.text)
{
  "url": "http://example.com"
}
{
  "message": "string"
}
{
  "message": "string"
}
{
  "message": "string"
}