List Missions
Lists missions for the API key’s team.
Optional filters on project code and purchase order mirror the Folkyn app missions list:
project_code_id— one team project code (UUID fromGET /api/v1/project-codes).has_project_code—with/without(aliasestrue/false) for missions with or without a linked project code. Mutually exclusive withproject_code_id.has_purchase_order—with/without(aliasestrue/false) for missions with or without a non-emptypurchase_orderstring.
Authorizations
Use Authorization: Bearer <your_api_key>
Query Parameters
x >= 11 <= x <= 100Comma-separated stored mission statuses (kebab-case). Values are normalized to lowercase.
Allowed values (database missions.status): draft, awaiting-freelancer-acceptance, awaiting-team-signature, in-progress, completed, terminated, deleted, rejected, cancelled.
Display-aligned filtering: for completed and in-progress, the API applies calendar logic vs end_date so the filter matches what users see in the app (e.g. an in-progress mission past end_date can count as completed).
Special case: filter awaiting-team-signature alone also includes in-progress missions (company signature workflow).
Response payloads expose a derived display_status (see schema MissionDisplayStatus), which can differ from missions.status.
Calendar YYYY-MM-DD. Keeps missions whose start_date is on or after this day (date-only string, same rule as the Folkyn app).
^[0-9]{4}-[0-9]{2}-[0-9]{2}$Inclusive lower bound on missions.created_at. Calendar YYYY-MM-DD (UTC day start). Pairs with created_at_to.
^[0-9]{4}-[0-9]{2}-[0-9]{2}$Inclusive upper bound on missions.created_at. Calendar YYYY-MM-DD (UTC day end). Must be ≥ created_at_from when both are set.
^[0-9]{4}-[0-9]{2}-[0-9]{2}$Filter missions linked to this team project code (UUID from GET /api/v1/project-codes).
Mutually exclusive with has_project_code. Returns 400 if the id is not a valid UUID or does not belong to the API key's team.
Presence filter on project_code_id. Case-insensitive accepted values: with, without, true, false (also 1 / 0).
with / true: mission has a project code. without / false: no project code.
Mutually exclusive with project_code_id.
with, without, true, false, 1, 0 Presence filter on purchase_order. Same accepted values as has_project_code.
with / true: non-empty purchase order (after trim). without / false: null, empty, or whitespace-only.
with, without, true, false, 1, 0 Restrict to missions assigned to this freelancer (UUID).
Response
Success
