Skip to main content
GET
/
v1
/
estimates
Find estimates
curl --request GET \
  --url https://api.infinity.swiss/v1/estimates \
  --header 'x-api-token: <api-key>'
{
  "estimates": [
    {
      "id": "<string>",
      "isDraft": true,
      "openingDate": "2023-12-25",
      "dueDate": "2023-12-25",
      "totalAmount": 123,
      "totalVatDebt": 123,
      "title": "<string>",
      "recipient": "<string>",
      "originalCurrency": "<string>",
      "signedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.infinity.swiss/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-token
string
header
required

API token for authentication. Obtain from your Infinity account settings.

Query Parameters

limit
number
default:30

Pagination limit. Defaults to 30, maximum 200.

Required range: x <= 200
skip
number

Pagination offset.

isDraft
boolean

When set, filters to only draft or only posted estimates.

status
enum<string>

Filters by the estimate's status.

Available options:
open,
accepted,
rejected
recipient
string

Filters estimates addressed to the contact with the given id.

fromDate
string<date>

Inclusive lower bound on opening date (YYYY-MM-DD).

toDate
string<date>

Inclusive upper bound on opening date (YYYY-MM-DD).

Response

Successfully returns the list of estimates.

estimates
EstimatePreview · object[]