[beta] Create a maintenance estimate

Create a priced vendor quote. Omitting approvalStatus saves an unapproved quote; saving quote data never awards it. Supplying approvalStatus approved or denied records a native Samsara approval decision through UTS; approval does not award the estimate. Combined normalized quote content and external metadata is limited to 245,760 bytes, in addition to individual field limits. Creating with approved or denied requires a stable nonempty externalIds identifier; retry the same quote and decision with the same identifier and authenticated principal after an ambiguous outcome. Different payloads or decision intents using an existing identifier return 409. Ordinary quote creation is not automatically retried; reconcile with GET after an ambiguous outcome.

Rate limit: 100 requests/min (learn more about rate limits here).

To use this endpoint, select Write Work Orders under the Work Orders category when creating or editing an API token. Learn More.

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean

Include estimate external identifiers. Defaults to false.

Body Params

Create a quote, optionally approving or denying it through Samsara approval and UTS. Native decision requests require nonempty externalIds for safe retries. Attach files through the attachment endpoint.

string
enum

Defaults to unapproved on create. Approved or denied records a decision through Samsara approval and UTS and requires a stable externalIds identifier for retries; approval never awards the estimate. Valid values: unapproved, approved, denied

Allowed:
externalIds
object

Estimate external identifiers. Responses include these only when includeExternalIds=true; default omitted.

lineItems
array of objects
required
length between 1 and 200

Complete set of 1 to 200 priced lines when supplied.

lineItems*
string
length ≤ 4000

Notes, at most 4000 Unicode characters.

date-time

Actual quote timestamp. Omit if the source only has a date; do not invent a time or offset.

string

Same-WO/vendor denied estimate superseded by this quote.

tax
object
required

Nonnegative amount in the organization's currency. Supported currencies: usd, gbp, cad, eur, chf, mxn. Exact decimal strings are required.

string
required

Same-org vendor location UUID or external ID.

string
required

Same-org numeric work order ID.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json