# API REST

- [Introduction](https://docs.trustlesswork.com/trustless-work/api-rest/introduction.md): How to get started in Trustless Work API REST
- [Single Release Escrow](https://docs.trustlesswork.com/trustless-work/api-rest/deploy.md): Single-Release Escrow is a type in which all your funds are released only once, either with the resolution of a dispute or by completing all the milestones defined for it.
- [Deploy](https://docs.trustlesswork.com/trustless-work/api-rest/deploy/initialize-escrow.md): Deploy the escrow contract and define the escrow properties.
- [Fund Escrow](https://docs.trustlesswork.com/trustless-work/api-rest/deploy/fund-escrow.md): Allows users to deposit funds into an existing escrow contract, securing them until the agreed conditions are met.
- [Approve Milestone](https://docs.trustlesswork.com/trustless-work/api-rest/deploy/change-milestone-flag.md): Responsible for approving the milestone through the escrow approver.
- [Change Milestone Status](https://docs.trustlesswork.com/trustless-work/api-rest/deploy/change-milestone-status.md): Responsible for changing the milestone status of an escrow through the service provider.
- [Release Funds](https://docs.trustlesswork.com/trustless-work/api-rest/deploy/release-funds.md): You release the escrow funds to the service provider through the approver.
- [Dispute Escrow](https://docs.trustlesswork.com/trustless-work/api-rest/deploy/change-dispute-flag.md): Responsible for initiating a dispute in an escrow. Change the value of the flag “disputed” from “disputed” to true.
- [Resolve Dispute](https://docs.trustlesswork.com/trustless-work/api-rest/deploy/resolving-disputes.md): Resolves escrow disputes by distributing funds to the approver and service provider as determined by the dispute resolver.
- [Update Escrow](https://docs.trustlesswork.com/trustless-work/api-rest/deploy/update-escrow-properties.md): This endpoint allows you to change the properties of an escrow as long as a series of requirements are met, which will be mentioned in this section.
- [Multi Release Escrow](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1.md)
- [Deploy](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1/initialize-escrow.md): Deploy the escrow contract and define the escrow properties.
- [Fund Escrow](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1/fund-escrow.md): Allows users to deposit funds into an existing escrow contract, securing them until the agreed conditions are met.
- [Approve Milestone](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1/change-milestone-flag.md): Responsible for modifying the "flag" property of a specific milestone in the escrow to approve that milestone.
- [Change Milestone Status](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1/change-milestone-status.md): Responsible for modifying the "status" property of a specific milestone in the escrow.
- [Release Milestone Funds](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1/release-funds.md): You release the milestone escrow funds to the service provider through the approver.
- [Withdraw Remaining Funds](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1/withdraw-remaining-funds.md)
- [Dispute Milestone](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1/change-dispute-flag.md): Responsible for setting the milestone in dispute state. Changes the value of the milestone's "flags.disputed" property to true.
- [Resolve Milestone Dispute](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1/resolving-disputes.md): Resolves escrow milestone disputes by distributing funds to the approver and service provider as determined by the dispute resolver.
- [Update Escrow](https://docs.trustlesswork.com/trustless-work/api-rest/deploy-1/update-escrow-properties.md): This endpoint allows you to change the properties of an escrow as long as a series of requirements are met, which will be mentioned in this section.
- [Helpers](https://docs.trustlesswork.com/trustless-work/api-rest/helpers.md): These endpoints provide a way to receive tokens through Trustline and send any transactions to the Stellar Blockchain.
- [Send Transaction](https://docs.trustlesswork.com/trustless-work/api-rest/helpers/send-transaction.md): Most Trustless Work endpoints return an unsigned transaction in XDR format. This endpoint is used to sign such unsigned transactions and send them to the Stellar network.
- [Indexer](https://docs.trustlesswork.com/trustless-work/api-rest/indexer.md): This endpoint facilitates the recovery and proper storage in Firebase of escrow-related information submitted to the Stellar Blockchain via external applications, bypassing the standard application.
- [Get Multiple Escrow Balance](https://docs.trustlesswork.com/trustless-work/api-rest/indexer/get-multiple-escrow-balance.md): Get the balance of multiple escrows.
- [Get Escrows By Contract Ids](https://docs.trustlesswork.com/trustless-work/api-rest/indexer/get-escrow-by-contract-ids.md): Returns all the information of a security deposit requested through one or more requested contract ids.
- [Get Escrows By Signer](https://docs.trustlesswork.com/trustless-work/api-rest/indexer/get-escrow-by-contract-id.md): Returns all the information of an escrow requested through the signer.
- [Get Escrows By Role](https://docs.trustlesswork.com/trustless-work/api-rest/indexer/get-escrow-by-contract-id-1.md): Returns all the information of an escrow requested through the role.
- [Update From Tx Hash](https://docs.trustlesswork.com/trustless-work/api-rest/indexer/update-escrow-properties.md): This endpoint allows you to change the properties of an escrow as long as a series of requirements are met, which will be mentioned in this section.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trustlesswork.com/trustless-work/api-rest.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
