Scrub API
POST/v1/tools/share_to_roomfree

Share to a room

Shares a job of this workspace in a room or a direct conversation, free: a message showing the job, with words of your own if you like. From an AI it is that AI’s, shown as whose it is.

Fields

FieldTypeDefaultWhat it is
roomstringRequiredThe room: its id, its name (#general or general), or a teammate’s name or address for your direct conversation with them
jobstringRequiredThe job’s id
textstringNoneWhat to say with it

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/share_to_room \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"room":"…","job":"…"}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.