method | POST |
endpoint |
Parameters
name | type | required | description |
| text | yes | The ID of the proposal you want to retrieve |
The proposal ID will be the last item in the URL when viewing a proposal
Example Request
curl --location 'https://app.tangoagreements.com/api/1.1/wf/get_proposal' \
--header 'Authorization: Bearer {{api_token}}' \
--form 'proposal_id="123x456"'
Response
{
"url": "https://app.tangoagreements.com/agreement/123x456",
"id": "123x456",
"title": "Hello World!",
"status": "Draft",
"version": "001",
"client_business_name": "My Client's Business Name",
"users": [
{
"name": "John Doe",
"email": "[email protected]",
"role": "Owner"
}
],
"contract_terms": [
{
"name": "Tax",
"description": "Additional % added to all costs",
"tax": "GST",
"value": 0.1
},
{
"name": "Deposit terms",
"description": "Days prior to the start date the first invoice must be paid",
"value": 3
},
{
"name": "Payment terms",
"description": "Days after a due date an invoice is marked as overdue",
"value": 14
},
{
"name": "Late payment fee",
"description": "Additional % you are liable to pay on an overdue invoice",
"value": 0.1
},
{
"name": "Review period",
"description": "Days the client has to review work",
"value": 5
},
{
"name": "Location",
"description": "Jurisdiction of contract (State and/or Country)",
"value": "Queensland, Australia"
}
],
"invoices": [
{
"id": "123x456",
"proposal": "123x456",
"billed_from": "John's Development Business",
"billed_to": "My Client's Business Name",
"currency": "USD",
"due_date": "2024-03-10T23:28:51.626Z",
"invoice_number": "",
"paid_date": null,
"schedule_type": "on acceptance",
"status": "Draft",
"tax_name": "GST",
"tax_percentage": 0.1,
"total_excluding_tax": 500,
"total": 550,
"line_items": [
{
"description": "Hello World!: Instalment ",
"amount_excluding_tax": 500,
"tax_amount": 50,
"total": 550
}
]
}
]
}