> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.truvo.com/llms.txt.

# list_quote_requests

POST https://api.truvo.com/v1/mcp#list_quote_requests
Content-Type: application/json

Reference: https://docs.truvo.com/api-reference/call-list-quote-requests

## Authentication

- `Authorization` header (bearer token, required) — Your Truvo API key, sent as a bearer token. The prefix selects sandbox (trv_sandbox_) or live (trv_live_).

## Request

### Headers

- `Accept` (string, required, default: application/json, text/event-stream)

### Body (application/json)

This endpoint expects a ListQuoteRequestsCall.

- `jsonrpc` (enum, required)
  - Allowed values: `2.0`
- `id` (integer, required)
- `method` (enum, required)
  - Allowed values: `tools/call`
- `params` (ListQuoteRequestsCallParams, required)

## Response

### 200

The JSON-RPC answer.

- `jsonrpc` (enum, optional)
  - Allowed values: `2.0`
- `id` (integer, optional)
- `result` (ToolCallAnswerResult, optional)
- `error` (ToolCallAnswerError, optional)

## Types

### ListQuoteRequestsCallParams

- `name` (enum, required)
  - Allowed values: `list_quote_requests`
- `arguments` (ListQuoteRequestsArguments, required)

### ToolCallAnswerResult

- `content` (list of ToolCallAnswerResultContentItems, optional)
- `structuredContent` (ToolCallAnswerResultStructuredContent, optional)
- `isError` (boolean, optional)

### ToolCallAnswerError

- `code` (integer, optional)
- `message` (string, optional)

### ListQuoteRequestsArguments

- `limit` (integer, optional)
- `cursor` (string, optional)
- `status` (enum, optional)
  - Allowed values: `in_progress`, `action_required`, `completed`, `failed`
- `line` (enum, optional)
  - Allowed values: `personal_auto`, `renters`, `pet`
- `created_after` (datetime, optional)
- `created_before` (datetime, optional)
- `updated_since` (datetime, optional)

### ToolCallAnswerResultContentItems

### ToolCallAnswerResultStructuredContent

## Examples

### Auto

**Request**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_quote_requests",
    "arguments": {
      "limit": 10,
      "line": "personal_auto"
    }
  }
}
```

**Response**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "text": "2 quote requests on this page, newest first.\n- qreq_453eeedb7f2edbfb250d06b3a8776ba9: personal_auto, completed, version 4.\n- qreq_f09d1472f363261d325ba98ca1d965ee: personal_auto, completed, version 4.\nThis is the last page.",
        "type": "text"
      },
      {
        "text": "{\"quote_requests\":[{\"id\":\"qreq_453eeedb7f2edbfb250d06b3a8776ba9\",\"version\":4,\"line\":\"personal_auto\",\"environment\":\"sandbox\",\"application_id\":\"app_a0b3fb8ace118df446ee5b8378fc8db6\",\"application_version\":1,\"status\":\"completed\",\"status_details\":{\"reason\":\"quoted\",\"message\":\"The quotes are ready.\"},\"quotes\":[{\"id\":\"qt_72e5e6944317eb9a21f71999aec888aa\",\"version\":1}],\"market_outcomes\":[{\"source\":\"Sandbox Auto Carrier\",\"outcome\":\"quote\",\"quote_id\":\"qt_72e5e6944317eb9a21f71999aec888aa\",\"quote_version\":1}],\"requirements\":[],\"assumptions\":[{\"path\":\"application.vehicles.0.assigned_driver\",\"value\":1,\"source\":\"single_driver\"},{\"path\":\"application.credit_mode\",\"value\":\"declined\",\"source\":\"external_default\"},{\"path\":\"contact_channels.email\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.sms\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.phone\",\"value\":false,\"source\":\"no_tcpa_consent\"}],\"next_actions\":[{\"type\":\"read_status\",\"resource\":\"quote_request\",\"id\":\"qreq_453eeedb7f2edbfb250d06b3a8776ba9\"}],\"failure\":null},{\"id\":\"qreq_f09d1472f363261d325ba98ca1d965ee\",\"version\":4,\"line\":\"personal_auto\",\"environment\":\"sandbox\",\"application_id\":\"app_cc015ea72b314d63736b6d9ee0859260\",\"application_version\":1,\"status\":\"completed\",\"status_details\":{\"reason\":\"quoted\",\"message\":\"The quotes are ready.\"},\"quotes\":[{\"id\":\"qt_5509b679fd9c50116b9d7791078a12ab\",\"version\":1}],\"market_outcomes\":[{\"source\":\"Sandbox Auto Carrier\",\"outcome\":\"quote\",\"quote_id\":\"qt_5509b679fd9c50116b9d7791078a12ab\",\"quote_version\":1}],\"requirements\":[],\"assumptions\":[{\"path\":\"application.vehicles.0.assigned_driver\",\"value\":1,\"source\":\"single_driver\"},{\"path\":\"application.credit_mode\",\"value\":\"declined\",\"source\":\"external_default\"},{\"path\":\"contact_channels.email\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.sms\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.phone\",\"value\":false,\"source\":\"no_tcpa_consent\"}],\"next_actions\":[{\"type\":\"read_status\",\"resource\":\"quote_request\",\"id\":\"qreq_f09d1472f363261d325ba98ca1d965ee\"}],\"failure\":null}],\"next_cursor\":null,\"events_cursor\":\"rsXMbffN0hDtSyvAeD-knubd1gX8h898FbevVI0qGvy2yoNCjWbUq8tmPkff4CNobxGxmSpmWC4a4vIDm0Qe2JXqM9e7E3Sq-kvhM8BwUE-BbfokHEiJkvbhdFHo2-92UaqLQyYi4EfpQWftMlD9Ln8-gFwomTa4JKbPaVOSBchol3a\"}",
        "type": "text"
      }
    ],
    "structuredContent": {
      "events_cursor": "rsXMbffN0hDtSyvAeD-knubd1gX8h898FbevVI0qGvy2yoNCjWbUq8tmPkff4CNobxGxmSpmWC4a4vIDm0Qe2JXqM9e7E3Sq-kvhM8BwUE-BbfokHEiJkvbhdFHo2-92UaqLQyYi4EfpQWftMlD9Ln8-gFwomTa4JKbPaVOSBchol3a",
      "next_cursor": null,
      "quote_requests": [
        {
          "application_id": "app_a0b3fb8ace118df446ee5b8378fc8db6",
          "application_version": 1,
          "assumptions": [
            {
              "path": "application.vehicles.0.assigned_driver",
              "source": "single_driver",
              "value": 1
            },
            {
              "path": "application.credit_mode",
              "source": "external_default",
              "value": "declined"
            },
            {
              "path": "contact_channels.email",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.sms",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.phone",
              "source": "no_tcpa_consent",
              "value": false
            }
          ],
          "environment": "sandbox",
          "failure": null,
          "id": "qreq_453eeedb7f2edbfb250d06b3a8776ba9",
          "line": "personal_auto",
          "market_outcomes": [
            {
              "outcome": "quote",
              "quote_id": "qt_72e5e6944317eb9a21f71999aec888aa",
              "quote_version": 1,
              "source": "Sandbox Auto Carrier"
            }
          ],
          "next_actions": [
            {
              "id": "qreq_453eeedb7f2edbfb250d06b3a8776ba9",
              "resource": "quote_request",
              "type": "read_status"
            }
          ],
          "quotes": [
            {
              "id": "qt_72e5e6944317eb9a21f71999aec888aa",
              "version": 1
            }
          ],
          "requirements": [],
          "status": "completed",
          "status_details": {
            "message": "The quotes are ready.",
            "reason": "quoted"
          },
          "version": 4
        },
        {
          "application_id": "app_cc015ea72b314d63736b6d9ee0859260",
          "application_version": 1,
          "assumptions": [
            {
              "path": "application.vehicles.0.assigned_driver",
              "source": "single_driver",
              "value": 1
            },
            {
              "path": "application.credit_mode",
              "source": "external_default",
              "value": "declined"
            },
            {
              "path": "contact_channels.email",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.sms",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.phone",
              "source": "no_tcpa_consent",
              "value": false
            }
          ],
          "environment": "sandbox",
          "failure": null,
          "id": "qreq_f09d1472f363261d325ba98ca1d965ee",
          "line": "personal_auto",
          "market_outcomes": [
            {
              "outcome": "quote",
              "quote_id": "qt_5509b679fd9c50116b9d7791078a12ab",
              "quote_version": 1,
              "source": "Sandbox Auto Carrier"
            }
          ],
          "next_actions": [
            {
              "id": "qreq_f09d1472f363261d325ba98ca1d965ee",
              "resource": "quote_request",
              "type": "read_status"
            }
          ],
          "quotes": [
            {
              "id": "qt_5509b679fd9c50116b9d7791078a12ab",
              "version": 1
            }
          ],
          "requirements": [],
          "status": "completed",
          "status_details": {
            "message": "The quotes are ready.",
            "reason": "quoted"
          },
          "version": 4
        }
      ]
    }
  }
}
```

**SDK Code**

```python Auto
import requests

url = "https://api.truvo.com/v1/mcp#list_quote_requests"

payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "list_quote_requests",
        "arguments": {
            "limit": 10,
            "line": "personal_auto"
        }
    }
}
headers = {
    "Accept": "application/json, text/event-stream",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Auto
const url = 'https://api.truvo.com/v1/mcp#list_quote_requests';
const options = {
  method: 'POST',
  headers: {
    Accept: 'application/json, text/event-stream',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_quote_requests","arguments":{"limit":10,"line":"personal_auto"}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Auto
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.truvo.com/v1/mcp#list_quote_requests"

	payload := strings.NewReader("{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"personal_auto\"\n    }\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Accept", "application/json, text/event-stream")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Auto
require 'uri'
require 'net/http'

url = URI("https://api.truvo.com/v1/mcp#list_quote_requests")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Accept"] = 'application/json, text/event-stream'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"personal_auto\"\n    }\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Auto
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.truvo.com/v1/mcp#list_quote_requests")
  .header("Accept", "application/json, text/event-stream")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"personal_auto\"\n    }\n  }\n}")
  .asString();
```

```php Auto
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.truvo.com/v1/mcp#list_quote_requests', [
  'body' => '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_quote_requests",
    "arguments": {
      "limit": 10,
      "line": "personal_auto"
    }
  }
}',
  'headers' => [
    'Accept' => 'application/json, text/event-stream',
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Auto
using RestSharp;

var client = new RestClient("https://api.truvo.com/v1/mcp#list_quote_requests");
var request = new RestRequest(Method.POST);
request.AddHeader("Accept", "application/json, text/event-stream");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"personal_auto\"\n    }\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Auto
import Foundation

let headers = [
  "Accept": "application/json, text/event-stream",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": [
    "name": "list_quote_requests",
    "arguments": [
      "limit": 10,
      "line": "personal_auto"
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.truvo.com/v1/mcp#list_quote_requests")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Renters

**Request**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_quote_requests",
    "arguments": {
      "limit": 10,
      "line": "renters"
    }
  }
}
```

**Response**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "text": "2 quote requests on this page, newest first.\n- qreq_e85379abd944efe0742349a53ec4117f: renters, completed, version 4.\n- qreq_2a558e13a78db00de3c03edbfdc41080: renters, completed, version 4.\nThis is the last page.",
        "type": "text"
      },
      {
        "text": "{\"quote_requests\":[{\"id\":\"qreq_e85379abd944efe0742349a53ec4117f\",\"version\":4,\"line\":\"renters\",\"environment\":\"sandbox\",\"application_id\":\"app_14dbc645173c827f95e68c65e99a1de3\",\"application_version\":1,\"status\":\"completed\",\"status_details\":{\"reason\":\"quoted\",\"message\":\"The quotes are ready.\"},\"quotes\":[{\"id\":\"qt_410384f2010738d18b5b9a977b55cd47\",\"version\":1}],\"market_outcomes\":[{\"source\":\"Sandbox Renters Carrier\",\"outcome\":\"quote\",\"quote_id\":\"qt_410384f2010738d18b5b9a977b55cd47\",\"quote_version\":1}],\"requirements\":[],\"assumptions\":[{\"path\":\"contact_channels.email\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.sms\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.phone\",\"value\":false,\"source\":\"no_tcpa_consent\"}],\"next_actions\":[{\"type\":\"read_status\",\"resource\":\"quote_request\",\"id\":\"qreq_e85379abd944efe0742349a53ec4117f\"}],\"failure\":null},{\"id\":\"qreq_2a558e13a78db00de3c03edbfdc41080\",\"version\":4,\"line\":\"renters\",\"environment\":\"sandbox\",\"application_id\":\"app_1b138a8129cf5a08e28f06244787a7ce\",\"application_version\":1,\"status\":\"completed\",\"status_details\":{\"reason\":\"quoted\",\"message\":\"The quotes are ready.\"},\"quotes\":[{\"id\":\"qt_59ac681ef2f157a7b2223eca977c8971\",\"version\":1}],\"market_outcomes\":[{\"source\":\"Sandbox Renters Carrier\",\"outcome\":\"quote\",\"quote_id\":\"qt_59ac681ef2f157a7b2223eca977c8971\",\"quote_version\":1}],\"requirements\":[],\"assumptions\":[{\"path\":\"contact_channels.email\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.sms\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.phone\",\"value\":false,\"source\":\"no_tcpa_consent\"}],\"next_actions\":[{\"type\":\"read_status\",\"resource\":\"quote_request\",\"id\":\"qreq_2a558e13a78db00de3c03edbfdc41080\"}],\"failure\":null}],\"next_cursor\":null,\"events_cursor\":\"AZoMCPWCMnxNHMmDiYXBek8UymGLJ05o0YGFKpE7cVlxwbm80eMRJJTgh8FMTieX-11LznLfpJNX3m_FE6O-fLXpo02vMJU4s3OWCZNIkAqL8aST2Er2LxuBvp_a8Sf5urL1g6reBXeSiERqz1wAolFF6h-pRaP9s-5oBbIPoq8kXLG\"}",
        "type": "text"
      }
    ],
    "structuredContent": {
      "events_cursor": "AZoMCPWCMnxNHMmDiYXBek8UymGLJ05o0YGFKpE7cVlxwbm80eMRJJTgh8FMTieX-11LznLfpJNX3m_FE6O-fLXpo02vMJU4s3OWCZNIkAqL8aST2Er2LxuBvp_a8Sf5urL1g6reBXeSiERqz1wAolFF6h-pRaP9s-5oBbIPoq8kXLG",
      "next_cursor": null,
      "quote_requests": [
        {
          "application_id": "app_14dbc645173c827f95e68c65e99a1de3",
          "application_version": 1,
          "assumptions": [
            {
              "path": "contact_channels.email",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.sms",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.phone",
              "source": "no_tcpa_consent",
              "value": false
            }
          ],
          "environment": "sandbox",
          "failure": null,
          "id": "qreq_e85379abd944efe0742349a53ec4117f",
          "line": "renters",
          "market_outcomes": [
            {
              "outcome": "quote",
              "quote_id": "qt_410384f2010738d18b5b9a977b55cd47",
              "quote_version": 1,
              "source": "Sandbox Renters Carrier"
            }
          ],
          "next_actions": [
            {
              "id": "qreq_e85379abd944efe0742349a53ec4117f",
              "resource": "quote_request",
              "type": "read_status"
            }
          ],
          "quotes": [
            {
              "id": "qt_410384f2010738d18b5b9a977b55cd47",
              "version": 1
            }
          ],
          "requirements": [],
          "status": "completed",
          "status_details": {
            "message": "The quotes are ready.",
            "reason": "quoted"
          },
          "version": 4
        },
        {
          "application_id": "app_1b138a8129cf5a08e28f06244787a7ce",
          "application_version": 1,
          "assumptions": [
            {
              "path": "contact_channels.email",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.sms",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.phone",
              "source": "no_tcpa_consent",
              "value": false
            }
          ],
          "environment": "sandbox",
          "failure": null,
          "id": "qreq_2a558e13a78db00de3c03edbfdc41080",
          "line": "renters",
          "market_outcomes": [
            {
              "outcome": "quote",
              "quote_id": "qt_59ac681ef2f157a7b2223eca977c8971",
              "quote_version": 1,
              "source": "Sandbox Renters Carrier"
            }
          ],
          "next_actions": [
            {
              "id": "qreq_2a558e13a78db00de3c03edbfdc41080",
              "resource": "quote_request",
              "type": "read_status"
            }
          ],
          "quotes": [
            {
              "id": "qt_59ac681ef2f157a7b2223eca977c8971",
              "version": 1
            }
          ],
          "requirements": [],
          "status": "completed",
          "status_details": {
            "message": "The quotes are ready.",
            "reason": "quoted"
          },
          "version": 4
        }
      ]
    }
  }
}
```

**SDK Code**

```python Renters
import requests

url = "https://api.truvo.com/v1/mcp#list_quote_requests"

payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "list_quote_requests",
        "arguments": {
            "limit": 10,
            "line": "renters"
        }
    }
}
headers = {
    "Accept": "application/json, text/event-stream",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Renters
const url = 'https://api.truvo.com/v1/mcp#list_quote_requests';
const options = {
  method: 'POST',
  headers: {
    Accept: 'application/json, text/event-stream',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_quote_requests","arguments":{"limit":10,"line":"renters"}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Renters
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.truvo.com/v1/mcp#list_quote_requests"

	payload := strings.NewReader("{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"renters\"\n    }\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Accept", "application/json, text/event-stream")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Renters
require 'uri'
require 'net/http'

url = URI("https://api.truvo.com/v1/mcp#list_quote_requests")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Accept"] = 'application/json, text/event-stream'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"renters\"\n    }\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Renters
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.truvo.com/v1/mcp#list_quote_requests")
  .header("Accept", "application/json, text/event-stream")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"renters\"\n    }\n  }\n}")
  .asString();
```

```php Renters
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.truvo.com/v1/mcp#list_quote_requests', [
  'body' => '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_quote_requests",
    "arguments": {
      "limit": 10,
      "line": "renters"
    }
  }
}',
  'headers' => [
    'Accept' => 'application/json, text/event-stream',
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Renters
using RestSharp;

var client = new RestClient("https://api.truvo.com/v1/mcp#list_quote_requests");
var request = new RestRequest(Method.POST);
request.AddHeader("Accept", "application/json, text/event-stream");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"renters\"\n    }\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Renters
import Foundation

let headers = [
  "Accept": "application/json, text/event-stream",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": [
    "name": "list_quote_requests",
    "arguments": [
      "limit": 10,
      "line": "renters"
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.truvo.com/v1/mcp#list_quote_requests")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Pet

**Request**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_quote_requests",
    "arguments": {
      "limit": 10,
      "line": "pet"
    }
  }
}
```

**Response**

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "text": "2 quote requests on this page, newest first.\n- qreq_21b900507f3d1c03d4446c36850f7341: pet, completed, version 4.\n- qreq_fb855a6b18993b03df2ca590ef5d583d: pet, completed, version 4.\nThis is the last page.",
        "type": "text"
      },
      {
        "text": "{\"quote_requests\":[{\"id\":\"qreq_21b900507f3d1c03d4446c36850f7341\",\"version\":4,\"line\":\"pet\",\"environment\":\"sandbox\",\"application_id\":\"app_95339f84ff8e09868e58d4467dcdf20f\",\"application_version\":1,\"status\":\"completed\",\"status_details\":{\"reason\":\"quoted\",\"message\":\"The quotes are ready.\"},\"quotes\":[{\"id\":\"qt_9536dc6d92e0f3c38f5c8be957da8aaa\",\"version\":1}],\"market_outcomes\":[{\"source\":\"Sandbox Pet Carrier\",\"outcome\":\"quote\",\"quote_id\":\"qt_9536dc6d92e0f3c38f5c8be957da8aaa\",\"quote_version\":1}],\"requirements\":[],\"assumptions\":[{\"path\":\"contact_channels.email\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.sms\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.phone\",\"value\":false,\"source\":\"no_tcpa_consent\"}],\"next_actions\":[{\"type\":\"read_status\",\"resource\":\"quote_request\",\"id\":\"qreq_21b900507f3d1c03d4446c36850f7341\"}],\"failure\":null},{\"id\":\"qreq_fb855a6b18993b03df2ca590ef5d583d\",\"version\":4,\"line\":\"pet\",\"environment\":\"sandbox\",\"application_id\":\"app_53d420f2d6a511b47ad1f5a8ac417e7a\",\"application_version\":1,\"status\":\"completed\",\"status_details\":{\"reason\":\"quoted\",\"message\":\"The quotes are ready.\"},\"quotes\":[{\"id\":\"qt_78d4c313ba5288508c3021db7d94c5e5\",\"version\":1}],\"market_outcomes\":[{\"source\":\"Sandbox Pet Carrier\",\"outcome\":\"quote\",\"quote_id\":\"qt_78d4c313ba5288508c3021db7d94c5e5\",\"quote_version\":1}],\"requirements\":[],\"assumptions\":[{\"path\":\"contact_channels.email\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.sms\",\"value\":false,\"source\":\"no_tcpa_consent\"},{\"path\":\"contact_channels.phone\",\"value\":false,\"source\":\"no_tcpa_consent\"}],\"next_actions\":[{\"type\":\"read_status\",\"resource\":\"quote_request\",\"id\":\"qreq_fb855a6b18993b03df2ca590ef5d583d\"}],\"failure\":null}],\"next_cursor\":null,\"events_cursor\":\"8MO3prgIH4YEKCuNYwvlowX4U-eGjS7_3W_116ZqLznoObMaYITLlq8vQLxRRBc7aLq-h9E5QkfOpIoSpLVTKZA_kfRhKHzPXFp7w7tuA5-Rs4FdlhNVX0DkWNsOAs69Xa5ALrgtjZmb7Pj0zLvvus5T8id1mMH0cDlmMqogEHFmndJ\"}",
        "type": "text"
      }
    ],
    "structuredContent": {
      "events_cursor": "8MO3prgIH4YEKCuNYwvlowX4U-eGjS7_3W_116ZqLznoObMaYITLlq8vQLxRRBc7aLq-h9E5QkfOpIoSpLVTKZA_kfRhKHzPXFp7w7tuA5-Rs4FdlhNVX0DkWNsOAs69Xa5ALrgtjZmb7Pj0zLvvus5T8id1mMH0cDlmMqogEHFmndJ",
      "next_cursor": null,
      "quote_requests": [
        {
          "application_id": "app_95339f84ff8e09868e58d4467dcdf20f",
          "application_version": 1,
          "assumptions": [
            {
              "path": "contact_channels.email",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.sms",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.phone",
              "source": "no_tcpa_consent",
              "value": false
            }
          ],
          "environment": "sandbox",
          "failure": null,
          "id": "qreq_21b900507f3d1c03d4446c36850f7341",
          "line": "pet",
          "market_outcomes": [
            {
              "outcome": "quote",
              "quote_id": "qt_9536dc6d92e0f3c38f5c8be957da8aaa",
              "quote_version": 1,
              "source": "Sandbox Pet Carrier"
            }
          ],
          "next_actions": [
            {
              "id": "qreq_21b900507f3d1c03d4446c36850f7341",
              "resource": "quote_request",
              "type": "read_status"
            }
          ],
          "quotes": [
            {
              "id": "qt_9536dc6d92e0f3c38f5c8be957da8aaa",
              "version": 1
            }
          ],
          "requirements": [],
          "status": "completed",
          "status_details": {
            "message": "The quotes are ready.",
            "reason": "quoted"
          },
          "version": 4
        },
        {
          "application_id": "app_53d420f2d6a511b47ad1f5a8ac417e7a",
          "application_version": 1,
          "assumptions": [
            {
              "path": "contact_channels.email",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.sms",
              "source": "no_tcpa_consent",
              "value": false
            },
            {
              "path": "contact_channels.phone",
              "source": "no_tcpa_consent",
              "value": false
            }
          ],
          "environment": "sandbox",
          "failure": null,
          "id": "qreq_fb855a6b18993b03df2ca590ef5d583d",
          "line": "pet",
          "market_outcomes": [
            {
              "outcome": "quote",
              "quote_id": "qt_78d4c313ba5288508c3021db7d94c5e5",
              "quote_version": 1,
              "source": "Sandbox Pet Carrier"
            }
          ],
          "next_actions": [
            {
              "id": "qreq_fb855a6b18993b03df2ca590ef5d583d",
              "resource": "quote_request",
              "type": "read_status"
            }
          ],
          "quotes": [
            {
              "id": "qt_78d4c313ba5288508c3021db7d94c5e5",
              "version": 1
            }
          ],
          "requirements": [],
          "status": "completed",
          "status_details": {
            "message": "The quotes are ready.",
            "reason": "quoted"
          },
          "version": 4
        }
      ]
    }
  }
}
```

**SDK Code**

```python Pet
import requests

url = "https://api.truvo.com/v1/mcp#list_quote_requests"

payload = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "list_quote_requests",
        "arguments": {
            "limit": 10,
            "line": "pet"
        }
    }
}
headers = {
    "Accept": "application/json, text/event-stream",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Pet
const url = 'https://api.truvo.com/v1/mcp#list_quote_requests';
const options = {
  method: 'POST',
  headers: {
    Accept: 'application/json, text/event-stream',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_quote_requests","arguments":{"limit":10,"line":"pet"}}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Pet
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.truvo.com/v1/mcp#list_quote_requests"

	payload := strings.NewReader("{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"pet\"\n    }\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Accept", "application/json, text/event-stream")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Pet
require 'uri'
require 'net/http'

url = URI("https://api.truvo.com/v1/mcp#list_quote_requests")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Accept"] = 'application/json, text/event-stream'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"pet\"\n    }\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java Pet
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.truvo.com/v1/mcp#list_quote_requests")
  .header("Accept", "application/json, text/event-stream")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"pet\"\n    }\n  }\n}")
  .asString();
```

```php Pet
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.truvo.com/v1/mcp#list_quote_requests', [
  'body' => '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_quote_requests",
    "arguments": {
      "limit": 10,
      "line": "pet"
    }
  }
}',
  'headers' => [
    'Accept' => 'application/json, text/event-stream',
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Pet
using RestSharp;

var client = new RestClient("https://api.truvo.com/v1/mcp#list_quote_requests");
var request = new RestRequest(Method.POST);
request.AddHeader("Accept", "application/json, text/event-stream");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"jsonrpc\": \"2.0\",\n  \"id\": 1,\n  \"method\": \"tools/call\",\n  \"params\": {\n    \"name\": \"list_quote_requests\",\n    \"arguments\": {\n      \"limit\": 10,\n      \"line\": \"pet\"\n    }\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Pet
import Foundation

let headers = [
  "Accept": "application/json, text/event-stream",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": [
    "name": "list_quote_requests",
    "arguments": [
      "limit": 10,
      "line": "pet"
    ]
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.truvo.com/v1/mcp#list_quote_requests")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```