Developers API reference Collaboration Post to the team chat
Post to the team chat POST /boards/{boardId}/chat
POST /boards/{boardId} /chatTry it Base https://api.mockflow.com/v1Scopes boards:write
Request
curl https://api.mockflow.com/v1/boards/brd_3f9e2a/chat \
-X POST \
-H "Authorization: Bearer $MOCKFLOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"message" : "Interview 5 users" ,
"askMida" : false
}'
const response = await fetch("https://api.mockflow.com/v1/boards/brd_3f9e2a/chat" , {
method: "POST" ,
headers: {
Authorization: `Bearer ${process.env.MOCKFLOW_API_KEY}` ,
"Content-Type" : "application/json"
},
body: JSON.stringify({
"message" : "Interview 5 users" ,
"askMida" : false
})
});
const data = await response.json();
import os, requests
response = requests.post(
"https://api.mockflow.com/v1/boards/brd_3f9e2a/chat" ,
headers={"Authorization" : f"Bearer {os.environ['MOCKFLOW_API_KEY']}" },
json={
"message" : "Interview 5 users" ,
"askMida" : False
},
)
response.raise_for_status()
data = response.json()
Response
{
"id" : "string" ,
"author" : {
"email" : "string" ,
"name" : "Q4 Launch Planning"
},
"fromMida" : false ,
"text" : "Interview 5 users" ,
"html" : "string" ,
"pinnedAt" : {
"x" : 0 ,
"y" : 0
}
}
{
"error" : {
"code" : "rate_limited" ,
"message" : "Too many requests." ,
"docsUrl" : "https://mockflow.com/developers/concepts/errors#rate_limited"
},
"requestId" : "req_45d49816999bac40"
}
Posts as the token's owner. Everyone with the board open sees it at once. Mention @Mida, or send askMida: true, and Mida answers in the chat; the answer arrives as a later message, not in this response.
Authorization
Authorizationstring header required
Bearer <key>. The key needs boards:write scope. Create and manage keys in the developer console ; what each scope unlocks is on the scopes page .
Path parameters
boardIdstring path required
Response 201 · application/json
Was this page helpful? Yes No PreviousTeam chat history Next Who has the board open right now