Milestones
GET /api/v2/milestones
Returns a list of milestones with their deliverable data.
Query Parameters
limit
integer
Results per page (default: 50, max: 50)
gt
integer
Return records with ID greater than this value
lt
integer
Return records with ID less than this value
Filtering
Milestones can be filtered by deliverable data and by specific IDs.
Filter by deliverable values
GET /api/v2/milestones?filters[deliverables][value]=SmithUse % as a wildcard for partial matching:
GET /api/v2/milestones?filters[deliverables][value]=%Smith%Filter by deliverable field tags
Filter by the internal_identifier of deliverable fields:
GET /api/v2/milestones?filters[deliverables][tags][]=artist_name&filters[deliverables][tags][]=song_titleOr combine a tag with a value to search within a specific field:
Filter by IDs
Response Properties
id
integer
Unique identifier
created_at
datetime
When the record was created
updated_at
datetime
When the record was last updated
title
string
Milestone title
contract_id
integer
ID of the associated contract
funding_amount
decimal
Funding amount for this milestone
description
string
Milestone description
state
string
Current milestone state
paid_at
datetime
When the milestone was paid
decline_reason
string
Reason for decline (if declined)
due_date
date
Milestone due date
contract.id
integer
Contract ID
contract.title
string
Contract title
Deliverables
Each milestone includes a deliverables_template_entry object containing form inputs:
deliverables_template_entry.id
integer
Entry ID
deliverables_template_entry.inputs[].id
integer
Input ID
deliverables_template_entry.inputs[].value
string
Input value
deliverables_template_entry.inputs[].file
object
File attachment metadata
deliverables_template_entry.inputs[].tahua_file_url
string
URL to download the file
deliverables_template_entry.inputs[].field.id
integer
Field ID
deliverables_template_entry.inputs[].field.internal_identifier
string
Field identifier
Example Request
Example Response
GET /api/v2/milestones/:id
Returns a single milestone. Response properties are the same as the list endpoint.
Example Request
Last updated
Was this helpful?