Developers
Reference

Emails

List email templates #

GET/api/public/v1/quosuite/emails/templates
Scope : emails:readlistEmailTemplates

Parameters

  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar

Response 200application/json

Success.

  • itemsApiEmailTemplateDto[]required
    ApiEmailTemplateDto 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.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/emails/templates' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "success": true,
  "data": {
    "items": [
      {
        "template": "CUSTOM",
        "requiredFields": [
          "string"
        ]
      }
    ]
  },
  "timestamp": "2026-10-02T09:15:00.000Z"
}
Try this request

Queue an email #

POST/api/public/v1/quosuite/emails
Scope : emails:writeIdempotentsendEmail

Sends 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-Keystringheaderrequired

    Required 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: 422 IDEMPOTENCY_KEY_REUSED. First call still in progress: 409 IDEMPOTENCY_IN_PROGRESS.

Request body application/json

  • templatestringrequired
    valuesCUSTOMPAYMENT_LINKPAYMENT_REMINDER
  • tostring (email)

    Required for a custom email or standalone link. For a linked payment, QuoSuite uses the billed customer’s address.

    e.g.customer@example.com
  • subjectstring

    Single-line subject for CUSTOM.

    max.length 200e.g.Votre dossier de location
  • bodystring

    Plain-text CUSTOM message. The workspace’s branded layout formats this text.

    max.length 20000e.g.Bonjour, votre dossier est prêt.
  • paymentLinkIdstring (uuid)

    Link UUID for PAYMENT_LINK or PAYMENT_REMINDER.

  • localestring

    Template language. Defaults to the workspace language.

    valuesfrenar

Response 202application/json

Queued.

  • idstring (uuid)required
  • tostring (email)required
  • statusstringrequired
    valuesPENDINGSENDINGSENTFAILED
  • createdAtstring (date-time)required
  • sentAtstring (date-time) | nullrequired

    Timestamp 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.

Request example
# 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"
}'
Response example
{
  "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 #

GET/api/public/v1/quosuite/emails/{id}
Scope : emails:readgetEmailDelivery

Returns PENDING, SENDING, SENT (handed to the SMTP server) or FAILED (retry attempts exhausted).

Parameters

  • idstringpathrequired
  • langstringquery

    Language of the labels (and of the PDF). Default: Accept-Language, otherwise the workspace language.

    frenar

Response 200application/json

Success.

  • idstring (uuid)required
  • tostring (email)required
  • statusstringrequired
    valuesPENDINGSENDINGSENTFAILED
  • createdAtstring (date-time)required
  • sentAtstring (date-time) | nullrequired

    Timestamp 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.

Request example
curl 'https://quosuite.com/api/public/v1/quosuite/emails/aac39e3a-0c40-44b2-8697-b597f357c5a9' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"
Response example
{
  "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.