API reference / Troop
List roles
The roles a teammate can be hired into: what each does, its tools, which calls wait for approval, and who already holds it here.
/api/v1/rolesOther ways to call it
troopy roles listtroopy_list_rolesResponse
200 · application/jsondata*array<object>13 properties
id*stringname*stringtitle*stringsummary*stringarea*enum<string>The area it works in: engineering, marketing or operations; lead for the troop's lead
leadengineeringmarketingoperations
lead*booleanrecommended*booleanSuits the jobs the business said it wants done at setup, or its business model
avatar*objectIts face: a bot-avatars body type, colour (#RRGGBB), face and shading, a robot head, or an object with two eyes
6 properties
shape*enum<string>cloverflowertrianglesquareblobghostcircledropstardroidmechalienhexagoncatcloudpilland 2 more
color*stringface*enum<string>eyesmouth
shadingenum<string>How its body is lit; fabric when unset
fabricplasticcrispsmoothflat
robotobjectA TV-headed robot (robot-heads) in place of the bot. shape, color, face and shading stay for the bot
5 properties
shape*enum<string>rectanglesquarecirclehexagon
shell*stringThe colour of its shell
trim*stringThe colour of its ears and of the collar of its antenna
screen*stringThe colour of the lights on its screen
antenna*booleanobjectobjectAn object with two eyes in place of the bot. shape, color, face and shading stay for the bot
2 properties
shape*enum<string>circlesquaretrianglepilldrophexagonpentagoncloudbeancloverflowersparkleburstapplechatbulband 13 more
color*stringThe colour of the object
tools*array<object>3 properties
id*stringThe tool's id, like search_brain
label*stringapproval*booleanCalls to it wait for a person's approval
routines*array<object>5 properties
name*stringtask*stringdays*array<integer>Days of the week it runs on, 0 is Sunday
At most 7 items
hour*integerminute*integerexpertise*array<string>What it is good at, as short tags
hired*array<string>Handles of this workspace's teammates in this role
needs*array<object>Apps its tools read from; it can't work until each is connected (POST /apps/{provider})
3 properties
id*enum<string>stripeposthoggithubnotionhunterlemonsqueezypolarpaddledodopaymentssearchconsolemetaadsgooglecalendargeminiopenaifalreplicate
name*stringconnected*boolean