Create Mission
Creates a mission for the API key’s team.
For hourly, daily, or monthly, send rate_amount > 0; for deliverable, send deliverables instead of rate_amount. Dates: YYYY-MM-DD.
Generate a services-agreement PDF (contract_type: services_agreement, default) — use_folkyn_template: true + team_signer_id, then either:
- Default template:
template_locale=froren. - Custom template:
folkyn_template_id= prestation template UUID.
Generate a master-agreement PDF (contract_type: master_agreement): master_agreement_template_id + master_agreement_valid_until + team_signer_id. If the freelancer already has a framework agreement in progress or awaiting signature (same team, not expired), that agreement is reused and linked to the mission — no new PDF is generated and template fields are ignored. Send template fields only when no current framework agreement exists (e.g. first mission under master agreement, or previous agreement expired).
For services agreements only, omit template fields to create a mission without a generated document. Master-agreement missions require either a reusable framework agreement or master_agreement_template_id / uploaded master_agreement_file. Optional: purchase_order, project_code_id, approver_id. The freelance referent is set on the freelancer profile (PATCH /api/v1/freelancers/{id}), not on mission create.
Authorizations
Use Authorization: Bearer <your_api_key>
Body
Mission objectives, deliverables, and working conditions.
Billing model for the mission (Postgres enum mission_type). hourly / daily / monthly use rate_amount as the price per that unit in currency. deliverable missions bill via the deliverables catalog (quantities and line amounts); rate_amount may still be set as a reference but line totals come from catalog rows on mission detail.
hourly, daily, monthly, deliverable YYYY-MM-DD
YYYY-MM-DD
Active freelancer profile UUID on the team.
services_agreement, master_agreement Required for hourly, daily, and monthly missions (HT unit rate). Omit for deliverable missions.
Required when mission_type is deliverable.
Required when generating a contract from a template (folkyn_template_id or master_agreement_template_id). Active team member profile UUID as company signatory.
Active team-admin UUID — mission stays in draft until approved.
Set true to generate a services-agreement PDF from a DOCX template.
Default prestation template language. Use instead of folkyn_template_id when you do not have the template UUID.
fr, en Prestation template UUID. Alternative to template_locale.
Team DOCX template UUID (master_agreement only). Requires team_signer_id and master_agreement_valid_until. Ignored when the freelancer already has a current framework agreement (in progress or awaiting signature).
Framework agreement end date (YYYY-MM-DD). Required with master_agreement_template_id. Ignored when an existing framework agreement is reused.
Response
Created — same object as GET /api/v1/missions/{id}
