Skip to main content
TroopyDocs
Open Troopy
Troopy

API reference / Tasks and projects

Save a view

Saves a set of Tasks filters under a name, for you or (shared) for the whole workspace. At most 30 each. For an API key, it is saved for the person who made it.

post/api/v1/views

Authorization

HeaderAuthorization: Bearer <API key>
Or the headerX-API-Key: <API key>
API keyMake one in Troopy under Settings > API keys. It acts as you, in its workspace.

Other ways to call it

CLItroopy views create
MCP tooltroopy_create_saved_view
Rate limit30 calls in 60 seconds, for each key
RetriesSend an Idempotency-Key header. A retry with the same key gets the first answer back, and the operation runs one time.

Body

application/json
name*string

At least 1 characters · At most 60 characters

sharedboolean
filters*object
12 properties
qstring

Words in the key or title

At most 200 characters

assigneearray<string>

Teammate handles, person ids, none, people (any person) or agents (any teammate)

At most 20 items

priorityarray<enum<string>>

noneurgenthighmediumlow

At most 5 items

projectarray<string>

Project ids, or none

At most 20 items

milestonearray<string>

Milestone ids, or none

At most 20 items

areaarray<enum<string>>

Any of these areas

engineeringmarketingoperations

At most 3 items

labelarray<string>

At most 20 items

statusarray<enum<string>>

backlogtodoin_progressneeds_youin_reviewdonecanceled

At most 7 items

creatorarray<string>

Who made the tasks: teammate handles, person ids, or me

At most 20 items

duearray<enum<string>>

overdue: past due and open. week: due in the next 7 days. none: no due date

overdueweeknone

At most 3 items

mineboolean

Only tasks you asked for, created or were given

subboolean

true shows sub-tasks. Without it, the board hides them

layoutenum<string>

boardlist

displayobject
5 properties
group*enum<string>

The groups of the list

statusassigneepriorityprojectnone

order*enum<string>

The order in a group or a column. manual: the order that people give by drag

manualprioritycreatedupdateddue

recent*boolean

Done and canceled tasks come last, the newest first

empty*boolean

The list shows the groups that have no task

props*array<enum<string>>

The parts of a row or a card that show. The title always shows

idprioritystatusassigneelabelsprojectduecreatedprsubtasks

At most 10 items

Response

201 · application/json
data*object
11 properties
id*string

A 24-character id

name*string
shared*boolean

Everyone in the workspace sees it

mine*boolean

Whether it is yours: only its owner changes it

owner*object
2 properties
id*string

A 24-character id

name*string
filters*object
12 properties
qstring

Words in the key or title

At most 200 characters

assigneearray<string>

Teammate handles, person ids, none, people (any person) or agents (any teammate)

At most 20 items

priorityarray<enum<string>>

noneurgenthighmediumlow

At most 5 items

projectarray<string>

Project ids, or none

At most 20 items

milestonearray<string>

Milestone ids, or none

At most 20 items

areaarray<enum<string>>

Any of these areas

engineeringmarketingoperations

At most 3 items

labelarray<string>

At most 20 items

statusarray<enum<string>>

backlogtodoin_progressneeds_youin_reviewdonecanceled

At most 7 items

creatorarray<string>

Who made the tasks: teammate handles, person ids, or me

At most 20 items

duearray<enum<string>>

overdue: past due and open. week: due in the next 7 days. none: no due date

overdueweeknone

At most 3 items

mineboolean

Only tasks you asked for, created or were given

subboolean

true shows sub-tasks. Without it, the board hides them

layout*enum<string>

boardlist

display*object | null

How it shows the tasks. Null: as the browser of each person shows them

5 properties
group*enum<string>

The groups of the list

statusassigneepriorityprojectnone

order*enum<string>

The order in a group or a column. manual: the order that people give by drag

manualprioritycreatedupdateddue

recent*boolean

Done and canceled tasks come last, the newest first

empty*boolean

The list shows the groups that have no task

props*array<enum<string>>

The parts of a row or a card that show. The title always shows

idprioritystatusassigneelabelsprojectduecreatedprsubtasks

At most 10 items

path*string

The Tasks page showing it, like /tasks?assignee=writer

createdAt*string

ISO 8601 date and time

updatedAt*string

ISO 8601 date and time

Errors

400 invalid_inputFix the field named in detail. Each operation's schema is in /api/v1/openapi.json.
401 unauthorizedSend an API key as `Authorization: Bearer tr_live_...`. Create one in Troopy under Settings.
403 forbiddenThe key lacks a scope this operation needs, or its owner lacks the role. detail says which; create a key with the scope, or ask an organization owner or admin.
409 conflictThis Idempotency-Key was used for a different request, or that request is still running. Use a new key for a new request.
429 rate_limitedWait the number of seconds in Retry-After, then retry.