Send quotation email
Sends the quotation as a formatted document via email to the contact user specified in the quotation.
What is sent:
- A formatted quotation document (PDF or HTML email)
- Includes all items, options, pricing, and tax calculations
- Contains the quotation comment and task information
- Formatted according to the quotation’s language setting
Requirements:
- The contact user must have a valid email address
- The quotation must not be deleted
- Email sending must be configured in the workspace
What happens:
- The quotation’s
sentAttimestamp is updated - An email is sent to the contact user’s email address
- The contact user can view and potentially accept/reject the quotation
Note: This endpoint only sends the email. To accept or reject a quotation, use the /accept or /reject endpoints. The contact user may need to log in or use a special link to interact with the quotation.
POST
/tasks/{identifier}/express-quotations/{quotationId}/send-emailAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
identifierstringrequiredTask UUID or numeric shortNumber
quotationIdstringrequiredQuotation UUID
Responses
200Quotation email sent successfully
successbooleanrequiredOperation success flag
400Invalid task identifier, quotation ID, or contact user has no email
401Unauthorized - Invalid or missing authentication token
403No access to task project
404Task or quotation not found
Request
curl -X POST "https://leadtime.app/api/public/tasks/550e8400-e29b-41d4-a716-446655440000%20or%20123/express-quotations/550e8400-e29b-41d4-a716-446655440000/send-email" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/tasks/550e8400-e29b-41d4-a716-446655440000%20or%20123/express-quotations/550e8400-e29b-41d4-a716-446655440000/send-email", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.post(
"https://leadtime.app/api/public/tasks/550e8400-e29b-41d4-a716-446655440000%20or%20123/express-quotations/550e8400-e29b-41d4-a716-446655440000/send-email",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Invalid task identifier, quotation ID, or contact user has no email
Unauthorized - Invalid or missing authentication token
No access to task project
Task or quotation not found