Skip to main content
GET
/
milestone-list
List milestones for an escrow
curl --request GET \
  --url https://aarwcjjzhlmkgdwrisyt.supabase.co/functions/v1/milestone-list \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "status": 200,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "escrow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "milestone_index": 1,
      "title": "Design mockups",
      "description": "Deliver Figma screens for all main flows",
      "amount": 150000,
      "due_date": "2026-05-01",
      "status": "proposed",
      "initiator_approved": true,
      "counterparty_approved": true,
      "changes_note": "Please split into two separate milestones",
      "release_tx_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "accepted_at": "2023-11-07T05:31:56Z",
      "completed_at": "2023-11-07T05:31:56Z",
      "released_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT access token obtained from /auth-verify (login context) or /auth-signup. Set the bearer_token environment variable in your API client to apply it globally.

Query Parameters

escrow_id
string<uuid>
required

Response

List of milestones

success
boolean
Example:

true

status
integer
Example:

200

data
object[]