Resend an invoice e-mail
POST /api/v2/billing/invoices/{id}/actions/resend-email
Send the invoice e-mail for one invoice again. An unpaid invoice gets the invoice e-mail with a payment link. A paid invoice gets the payment receipt. Both have the invoice PDF attached. It goes to the recipients in the account’s invoice e-mail settings, in the account’s language. You cannot choose the recipient. Only unpaid and paid invoices can be resent. At most three invoice e-mails per invoice are sent in 24 hours. Use GET /api/v2/billing/invoices/{id}/email-info to see who will receive it.
Authentication: An API key with the scope write:billing. About keys and scopes
Request
Path parameters
idstringrequiredPublic invoice ID from
GET /api/v2/billing/invoices (inv_…).Example
curl -X POST "https://cloud.hostup.se/api/v2/billing/invoices/inv_01hxa3b4c5d6e7f8g9h0j1k2m3/actions/resend-email" \ -H "Authorization: Bearer $HOSTUP_API_KEY" \ -H "Content-Type: application/json"Responses
200 The e-mail is queued.
{ "queuedAt": "2026-04-27T12:34:56.000Z", "email": "billing@example.com"}Response fields
queuedAtstringWhen the e-mail was queued.
emailstringThe main recipient.
Errors
Errors are Problem Details with a stable code. Branch on the code, not on the text.
| 400 | Invalid request. The response body is an RFC 7807 Problem Details document. |
| 401 | Unauthorized. Authentication is required. |
| 403 | Forbidden. The caller lacks a required scope or does not own the resource. |
| 404 | Not found. The resource does not exist or is not owned by the caller; code is invoice_not_found. |
| 429 | rate_limited: three invoice e-mails were already sent for this invoice in the last 24 hours. recovery.retryAfterSeconds says how long to wait. |
| 500 | Internal error. Retry later or contact support if the issue persists. |
| 502 | Upstream failure. A dependent provider request failed; the Problem Details code is upstream_failed. Retry later or contact support if the issue persists. |