Emails
- GET
/emails/templatesList email templates - POST
/emailsQueue an email - GET
/emails/{id}Get email delivery status
List email templates #
/api/public/v1/quosuite/emails/templatesemails:readlistEmailTemplatesParameters
langstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenar
Response 200application/json
Success.
itemsApiEmailTemplateDto[]requiredApiEmailTemplateDto details
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/emails/templates' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"items": [
{
"template": "CUSTOM",
"requiredFields": [
"string"
]
}
]
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Queue an email #
/api/public/v1/quosuite/emailsemails:writeIdempotentsendEmailSends a custom message, payment link or payment reminder using the workspace’s email transport. Both payment templates also require payment_links:read and Online Payments.
Parameters
Idempotency-KeystringheaderrequiredRequired for this endpoint. Idempotency key (1–255 printable ASCII characters, UUID v4 recommended). A retry with the same key and the same body within 24 h replays the response of the first successful call (header
Idempotent-Replayed: true) instead of creating a second time. Same key, different body: 422IDEMPOTENCY_KEY_REUSED. First call still in progress: 409IDEMPOTENCY_IN_PROGRESS.
Request body application/json
templatestringrequiredvaluesCUSTOMPAYMENT_LINKPAYMENT_REMINDERtostring (email)Required for a custom email or standalone link. For a linked payment, QuoSuite uses the billed customer’s address.
e.g.customer@example.comsubjectstringSingle-line subject for
CUSTOM.max.length 200e.g.Votre dossier de locationbodystringPlain-text
CUSTOMmessage. The workspace’s branded layout formats this text.max.length 20000e.g.Bonjour, votre dossier est prêt.paymentLinkIdstring (uuid)Link UUID for
PAYMENT_LINKorPAYMENT_REMINDER.localestringTemplate language. Defaults to the workspace language.
valuesfrenar
Response 202application/json
Queued.
idstring (uuid)requiredtostring (email)requiredstatusstringrequiredvaluesPENDINGSENDINGSENTFAILEDcreatedAtstring (date-time)requiredsentAtstring (date-time) | nullrequiredTimestamp when handed to the SMTP server.
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
409CONFLICTIDEMPOTENCY_IN_PROGRESS
Conflict: unique value already taken, or same idempotency key still in progress.
422BUSINESS_RULE_VIOLATIONIDEMPOTENCY_KEY_REUSED
Well-formed request but refused by an ERP business rule (forbidden status transition, locked paid document, stock…), or reused idempotency key.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/emails' \
-H "Authorization: Bearer $QUOSUITE_API_KEY" \
-H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
-H 'Content-Type: application/json' \
-d '{
"template": "PAYMENT_LINK",
"paymentLinkId": "8073348e-5e57-4c06-b740-559e6cdf2d08",
"locale": "en"
}'{
"success": true,
"data": {
"id": "82e8af7f-516d-4c8a-84eb-8782d279f67d",
"to": "contact@example.com",
"status": "PENDING",
"createdAt": "2026-10-02T09:15:00.000Z",
"sentAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Get email delivery status #
/api/public/v1/quosuite/emails/{id}emails:readgetEmailDeliveryReturns PENDING, SENDING, SENT (handed to the SMTP server) or FAILED (retry attempts exhausted).
Parameters
idstringpathrequiredlangstringqueryLanguage of the labels (and of the PDF). Default:
Accept-Language, otherwise the workspace language.frenar
Response 200application/json
Success.
idstring (uuid)requiredtostring (email)requiredstatusstringrequiredvaluesPENDINGSENDINGSENTFAILEDcreatedAtstring (date-time)requiredsentAtstring (date-time) | nullrequiredTimestamp when handed to the SMTP server.
Errors
400VALIDATION_FAILEDIDEMPOTENCY_KEY_INVALIDINVALID_CURSOR
Invalid parameter or body (missing, unknown or mistyped field, sort not allowed), or pagination cursor issued for another sort or other filters.
401API_KEY_MISSINGAPI_KEY_INVALIDAPI_KEY_REVOKEDAPI_KEY_EXPIRED
Key missing, invalid, revoked or expired.
403API_KEY_WRONG_PERIMETERAPI_INSUFFICIENT_SCOPEAPI_ORIGIN_NOT_ALLOWEDAPI_TENANT_MISMATCHAPI_TENANT_INACTIVEAPI_MODULE_UNAVAILABLEAPI_FEATURE_UNAVAILABLE
Valid key but insufficient: wrong perimeter, missing scope, origin refused, inactive subscription, or module / option not included in the plan.
404NOT_FOUND
Resource not found — or belonging to another workspace, which amounts to the same.
429API_RATE_LIMITEDAPI_AUTH_BLOCKED
Key or workspace quota reached (see Retry-After), or address blocked.
500INTERNAL_ERROR
Unexpected error. Quote requestId to support.
503SERVICE_UNAVAILABLE
Temporarily unavailable (see Retry-After). No infrastructure details.
curl 'https://quosuite.com/api/public/v1/quosuite/emails/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
-H "Authorization: Bearer $QUOSUITE_API_KEY"{
"success": true,
"data": {
"id": "82e8af7f-516d-4c8a-84eb-8782d279f67d",
"to": "contact@example.com",
"status": "PENDING",
"createdAt": "2026-10-02T09:15:00.000Z",
"sentAt": "2026-10-02T09:15:00.000Z"
},
"timestamp": "2026-10-02T09:15:00.000Z"
}Try this request
Generated from the QuoSuite API OpenAPI contract v1.0.0.