Create an estimate
curl --request POST \ --url https://example.com/api/v1/estimates \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "clientId": "example", "currency": "USD", "dealId": "example", "discount": 1, "expiryDate": "example", "issueDate": "example", "notes": "example", "poNumber": "example", "subject": "example", "taxRate": 1 }'Creates a DRAFT estimate for a client. taxRate is accepted as a percentage (0-100) and stored/returned as a fraction. Requires the estimates.create permission.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”object
Deal this proposal belongs to. Needs deals.view, and the deal must be one the caller can reach on the same company as the estimate. Null clears it.
Discount on the whole estimate as a percentage (0-100). Refused with 409 DISCOUNT_CONFLICT while any line carries a discountPercent: an estimate takes one kind of discount or the other.
Expiry date (YYYY-MM-DD), resolved at workspace-local midnight.
Issue date (YYYY-MM-DD), resolved at workspace-local midnight.
Responses
Section titled “Responses”The created estimate.
object
An estimate. Money fields are numbers; dates are ISO 8601 strings.
object
Deal this proposal belongs to, if any.
Discount percentage (0-100).
Estimate status: DRAFT, SENT, VIEWED, ACCEPTED, DECLINED, or EXPIRED.
Tax rate as a fraction (e.g. 0.16 for 16%).
Example generated
{ "data": { "acceptedAt": "2026-04-15T12:00:00Z", "clientId": "example", "createdAt": "2026-04-15T12:00:00Z", "currency": "example", "dealId": "example", "declinedAt": "2026-04-15T12:00:00Z", "discount": 1, "expiryDate": "2026-04-15T12:00:00Z", "id": "example", "issueDate": "2026-04-15T12:00:00Z", "notes": "example", "number": "example", "poNumber": "example", "publicToken": "example", "sentAt": "2026-04-15T12:00:00Z", "status": "example", "subject": "example", "subtotal": 1, "taxAmount": 1, "taxRate": 1, "total": 1, "updatedAt": "2026-04-15T12:00:00Z", "viewedAt": "2026-04-15T12:00:00Z" }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Client not found in this workspace.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC