Developers API reference Boards The board as text
The board as text GET /boards/{boardId}/outline
GET /boards/{boardId} /outlineTry it Base https://api.mockflow.com/v1Scopes boards:read
Request
curl https://api.mockflow.com/v1/boards/brd_3f9e2a/outline \
-H "Authorization: Bearer $MOCKFLOW_API_KEY"
const response = await fetch("https://api.mockflow.com/v1/boards/brd_3f9e2a/outline" , {
method: "GET" ,
headers: {
Authorization: `Bearer ${process.env.MOCKFLOW_API_KEY}`
}
});
const data = await response.json();
import os, requests
response = requests.get(
"https://api.mockflow.com/v1/boards/brd_3f9e2a/outline" ,
headers={"Authorization" : f"Bearer {os.environ['MOCKFLOW_API_KEY']}" },
)
response.raise_for_status()
data = response.json()
Response
{
"boardId" : "brd_3f9e2a" ,
"title" : "Q4 Launch Planning" ,
"counts" : {},
"sections" : [
{
"id" : "string" ,
"title" : "Q4 Launch Planning" ,
"counts" : {},
"items" : [
{
"id" : "string" ,
"type" : "string" ,
"title" : "Q4 Launch Planning" ,
"text" : "Interview 5 users"
}
]
}
],
"standalone" : [
{
"id" : "string" ,
"type" : "string" ,
"title" : "Q4 Launch Planning" ,
"text" : "Interview 5 users"
}
],
"connections" : [
{
"id" : "string" ,
"from" : "string" ,
"to" : "string" ,
"label" : "string" ,
"directed" : false
}
]
}
{
"error" : {
"code" : "rate_limited" ,
"message" : "Too many requests." ,
"docsUrl" : "https://mockflow.com/developers/concepts/errors#rate_limited"
},
"requestId" : "req_45d49816999bac40"
}
The board the way the product's own board scan reads it: sections with the items inside them in reading order, standalone items, and the connections between items. Every line carries the item id the Items endpoints take. JSON, or Markdown with Accept: text/markdown.
Authorization
Authorizationstring header required
Bearer <key>. The key needs boards:read scope. Create and manage keys in the developer console ; what each scope unlocks is on the scopes page .
Path parameters
boardIdstring path required
Response 200 · application/json
Was this page helpful? Yes No PreviousDuplicate a board Next Restore a board from trash