API reference
Team assistant: pass it on and ask around
Pass it on: a member tells the team assistant an update, an idea or a question once; it suggests who needs it and in what order (rings), words it for each reader, and the readers' own assistants bring it to them at their hours; the sender sees who took it in and what came back. Ask around: when the team assistant's data does not answer, it asks the teammates who probably know through their own assistants. Both act in the key's account's name in a team it is a member of; nothing reaches anyone the app would not let reach them. 20 endpoints. Add your API key in the authentication panel to send test requests from this page.
List questions waiting for your words
/api/external/v1/team-assistant/asks/for-meQuestions teammates asked around that wait for the member's own words (their assistant asked them), across their teams, each with their own target only. Answer one with POST /teams/{teamId}/assistant/asks/{askId}/answer. limit 1-100.
Parameters
limitinteger (int32)querylangstringquery
Responses
200OK
List the questions you asked around
/api/external/v1/teams/{teamId}/assistant/asksThe member's questions asked around in this team, newest first: question, wording (how it was put to the people asked), targets (each person asked with state SUGGESTED, ASKED, ANSWERED_BY_ASSISTANT, PERSON_ASKED, ANSWERED, PASSED, DECLINED or EXPIRED and their answer), state (SUGGESTED, ASKING, ANSWERED, NOBODY, WITHDRAWN, EXPIRED), sayItWasMe, why (why these people). limit 1-100. Errors: 404 TEAM_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
limitinteger (int32)querylangstringquery
Responses
200OK
Ask teammates around
/api/external/v1/teams/{teamId}/assistant/asksAsks at once the teammates who probably know, through their own assistants - as the app's "Ask around". question (required, at most 1000); members (optional, at most 3 member ids; left out: the team assistant picks those the board says probably know); sayItWasMe (default true; false: "someone in the team asks", in the team assistant's own words - one more MESSAGES). Never the asker; not people away, gone, with their own assistant off here or who keep the team assistant from asking them. A member's assistant answers from what its person lets teammates know, and asks its person what it may not say. The answers come back into the asker's thread.
Costs one MESSAGES per person asked; at most 10 questions an asker a day; a question open 7 days expires. Answers 201 with the question. Errors: 404 TEAM_NOT_FOUND, 400 EMPTY_MESSAGE, TOO_LONG, BAD_MEMBER or INVALID_FIELD, 403 NOT_ALLOWED, 409 ASSISTANT_OFF or LIMIT.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
langstringquery
Request body application/json
object
Responses
200OK
Read a question asked around
/api/external/v1/teams/{teamId}/assistant/asks/{askId}One question as the member may read it: the asker reads all of it; a person asked reads it with their own target only (mine false). Errors: 404 ASK_NOT_FOUND (not there, not of this team, or not theirs to read) or TEAM_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
askIdstring (uuid)pathRequiredThe question's id.
langstringquery
Responses
200OK
Answer a question asked around
/api/external/v1/teams/{teamId}/assistant/asks/{askId}/answerA person asked answers in their own words (their own assistant asked them because it could not say): answer (at most 2000) or pass: true (nothing from them), and shareWithTeam (the whole team may read the answer; it may become a project FAQ entry). Answers the question. Errors: 404 ASK_NOT_FOUND, 400 EMPTY_MESSAGE or TOO_LONG, 409 NOT_OPEN.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
askIdstring (uuid)pathRequiredThe question's id.
langstringquery
Request body application/json
object
Responses
200OK
Say yes to asking around
/api/external/v1/teams/{teamId}/assistant/asks/{askId}/goThe asker's yes to a question the team assistant offered to ask around (state SUGGESTED, from an answer in their thread): optionally fewer people (members, ids of those suggested) and sayItWasMe (false: without their name). Asked at once; costs as asking around. Answers the question. Errors: 404 ASK_NOT_FOUND, 400 BAD_MEMBER or INVALID_FIELD, 409 NOT_OPEN or LIMIT.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
askIdstring (uuid)pathRequiredThe question's id.
langstringquery
Request body application/json
object
Responses
200OK
Withdraw a question asked around
/api/external/v1/teams/{teamId}/assistant/asks/{askId}/withdrawThe asker takes an open question back (or says no to one the team assistant offered): nobody is asked any more. Answers the question. Errors: 404 ASK_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
askIdstring (uuid)pathRequiredThe question's id.
langstringquery
Responses
200OK
List what you passed on
/api/external/v1/teams/{teamId}/assistant/relays"Passed on": the member's own relays in this team, newest first, each as its sender sees it - text, rings (each with state WAITING, WORDED, SENT, DONE or SKIPPED, people, armed, opensAt), state (DRAFT, OPEN, DONE, WITHDRAWN), deliveries (every reader's copy: wording, state WORDED, HELD, DELIVERED, SEEN, TAKEN_IN, REPLIED, PASSED, SKIPPED or CANCELLED, reaction, reply), summary and notes. limit 1-100. Texts in lang. Errors: 404 TEAM_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
limitinteger (int32)querylangstringquery
Responses
200OK
Pass something on to the team
/api/external/v1/teams/{teamId}/assistant/relaysStarts a relay as a DRAFT - nothing goes yet. text (required, at most 4000): what to pass on; kind: TELL (an update or idea: readers take it in; the default) or ASK (readers are asked for their views); rings (optional): who, in what order - each {label?, memberIds?, roles?, everyone?, gate?, afterHours?} with roles of OWNER, ADMIN, EDITOR, COMMENTER, VIEWER and gate NOW (with the ring before), AFTER_HOURS (afterHours after the ring before went, at most 168), WHEN_AGREED or BY_HAND; at most 5 rings. Left out, the team assistant suggests the rings and a title (one MESSAGES on the sender).
Next: POST .../word words the first ring for each reader, you read the wordings in deliveries, then POST .../send sends them. Always with the sender's name. At most 10 relays a sender a day.
Answers {outcome, relay, why}: 201 with outcome DONE and the draft; 200 with REFUSED (the team assistant would not pass this on - threats, pressure and the like - why says why; nothing kept), LIMIT or FAILED. Errors: 404 TEAM_NOT_FOUND, 400 EMPTY_MESSAGE, TOO_LONG, BAD_RINGS or INVALID_FIELD, 403 NOT_ALLOWED (the managers' audience leaves the member out, an archived team), 409 ASSISTANT_OFF.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
langstringquery
Request body application/json
object
Responses
200OK
Read a relay
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}One relay: everything for its sender; for a reader the relay's title, the sender, their own copy and the replies shared with them. Errors: 404 RELAY_NOT_FOUND (not there, not of this team, or not passed on to the member) or TEAM_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
langstringquery
Responses
200OK
Change a relay's text or rings
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}The sender changes what is not sent yet: rings (same shape as when passing it on) replace every ring not sent yet - rings already sent stay first, and the wordings of the rings replaced go; text only before anything was worded. A key left out keeps its value. Answers the relay. Errors: 404 RELAY_NOT_FOUND, 400 TOO_LONG, BAD_RINGS or INVALID_FIELD, 403 NOT_ALLOWED (not the sender; the text after wording), 409 NOT_OPEN.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
langstringquery
Request body application/json
object
Responses
200OK
Edit one reader's wording
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}/copies/{copyId}The sender changes the words one reader will get (wording, required, at most 1500) before that ring goes. Answers the relay. Errors: 404 RELAY_NOT_FOUND or COPY_NOT_FOUND, 400 EMPTY_MESSAGE, TOO_LONG or MISSING_FIELD, 403 NOT_ALLOWED (not the sender), 409 NOT_OPEN (the copy went already).
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
copyIdstring (uuid)pathRequiredThe reader's copy's id (`deliveries[].id`).
langstringquery
Request body application/json
object
Responses
200OK
Answer what was passed on to you
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}/copies/{copyId}/answerThe reader answers their copy: reaction (GOT_IT, AGREE, QUESTION, DISAGREE), reply (words, at most 2000) and repliesTo (SENDER, the default; RING: the readers of their ring; EVERYONE: every reader), or pass: true ("nothing from me"). At least one of them. The sender is told of words, a question or a disagreement. Answers the relay as the reader sees it. Errors: 404 RELAY_NOT_FOUND or COPY_NOT_FOUND, 400 EMPTY_MESSAGE, TOO_LONG or INVALID_FIELD, 409 NOT_OPEN (the relay was withdrawn, or the copy cannot be answered any more).
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
copyIdstring (uuid)pathRequiredThe member's copy's id.
langstringquery
Request body application/json
object
Responses
200OK
Mark your copy seen
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}/copies/{copyId}/seenThe reader opened their copy (the sender sees it as seen). Nothing happens for a copy that is not the member's own. Answers 204. Errors: 404 RELAY_NOT_FOUND or COPY_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
copyIdstring (uuid)pathRequiredThe member's copy's id.
Responses
200OK
Send a worded ring
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}/sendSends the worded ring ring (its index; default 0) as its wordings stand: now when it is the next to go and its gate is open (the first ring, BY_HAND, an opened gate) - with the worded NOW rings after it; otherwise it is armed and goes by itself when its turn and gate come. Readers' own assistants bring it at their hours. Answers the relay. Errors: 404 RELAY_NOT_FOUND, 403 NOT_ALLOWED, 409 NOTHING_TO_SEND (not worded, sent already, the relay withdrawn or done).
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
langstringquery
Request body application/json
object
Responses
200OK
Sum up what came back
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}/summarizeThe team assistant sums up the reactions and replies for the sender (relay.summary). One MESSAGES on the sender; at most 5 summaries a relay. Answers {outcome, relay, why}. Errors: 404 RELAY_NOT_FOUND, 403 NOT_ALLOWED.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
langstringquery
Responses
200OK
Widen a relay to its next ring now
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}/widenThe next ring goes now, whatever its gate, when it is worded (the sender has read it); a ring not worded yet is worded first and then waits for send, as every wording does - nothing goes unread. Answers {outcome, relay, why}. Errors: 404 RELAY_NOT_FOUND, 403 NOT_ALLOWED, 409 NOT_OPEN or NOTHING_TO_SEND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
langstringquery
Responses
200OK
Withdraw a relay
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}/withdrawThe sender withdraws it: what is still held is cancelled and readers no longer read its wordings. Answers the relay. Errors: 404 RELAY_NOT_FOUND, 403 NOT_ALLOWED (not the sender).
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
langstringquery
Responses
200OK
Word the next ring for each reader
/api/external/v1/teams/{teamId}/assistant/relays/{relayId}/wordThe team assistant words the next ring not sent yet (or the ring ring, its index) for each of its readers, with the NOW rings right after it (they go together). Wording a ring again replaces its wordings. Read them in relay.deliveries[].wording (edit one with PUT .../copies/{copyId}) before sending. Costs one MESSAGES per call of up to 15 readers; at most 15 wording calls a relay. Answers {outcome DONE|REFUSED|LIMIT|FAILED, relay, why}. Errors: 404 RELAY_NOT_FOUND, 403 NOT_ALLOWED, 409 NOT_OPEN or NOTHING_TO_SEND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
relayIdstring (uuid)pathRequiredThe relay's id.
langstringquery
Request body application/json
object
Responses
200OK
List what was passed on to you
/api/external/v1/teams/{teamId}/assistant/relays/receivedWhat teammates passed on to the member in this team, newest first, each as a reader sees it: the relay's title, sender, kind, state and deliveries - their own copy (its id is the copy's id, with wording, state, reaction, reply) and the replies shared with them. Answer a copy with POST .../relays/{relayId}/copies/{copyId}/answer. limit 1-100. Errors: 404 TEAM_NOT_FOUND.
Parameters
teamIdstring (uuid)pathRequiredThe team's id.
limitinteger (int32)querylangstringquery
Responses
200OK