Skip to navigation

List quote requests

View as Markdown

Authentication

AuthorizationBearer

Your Truvo API key, sent as a bearer token. The prefix selects sandbox (trv_sandbox_) or live (trv_live_).

Query parameters

limitintegerOptional1-100Defaults to 10
The most quote requests on one page, from 1 to 100.
cursorstringOptionalformat: "^[A-Za-z0-9_-]{1,512}$"

The next_cursor of the page before. Send the same filters with it. A cursor from another list answers invalid_cursor.

statusenumOptional
Only quote requests in this state.
Allowed values:
lineenumOptional
Only quote requests for this line.
Allowed values:
created_afterdatetimeOptional
Only quote requests created after this time. An RFC 3339 time with an offset.
created_beforedatetimeOptional
Only quote requests created before this time. An RFC 3339 time with an offset.
updated_sincedatetimeOptional
Only quote requests that changed at or after this time. To resync, send the start time of your last complete sync, less a few minutes, and read each page. An RFC 3339 time with an offset.

Response headers

Request-Idstringformat: "^req_[0-9a-f]{16}$"

The ID of this answer. An error body repeats it as request_id.

RateLimit-LimitintegerOptional
The calls this window allows, for the limit you're closest to reaching. The window is one minute, or one UTC day for a daily sandbox limit. A fixed window allows a burst of up to twice the limit across a window edge.
RateLimit-RemainingintegerOptional
The calls left in the current window.
RateLimit-ResetintegerOptional
Seconds until the current window ends and the count resets.

Response

List quote requests.
quote_requestslist of objects
next_cursorstring or nullformat: "^[A-Za-z0-9_-]{1,512}$"

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error