# Email an invoice certification `POST /api/v1/invoices/{id}/send` Emails a certification link to one recipient. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Invoices → Write**. ## Path parameters - `id` (integer, required) — ID of the invoice. ## Body parameters - `email` (string, required) — Recipient address. Alias email_to. - `body_html` (string, required) — HTML content of the email. Alias body. - `subject` (string) — Email subject. Defaults to the annual certification subject. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request POST \ --url "https://api.asdincloud.com/api/v1/invoices/${ID:?Set ID}/send" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "Content-Type: application/json" \ --data '{"email":"alex@example.com","subject":"Annual certification","body_html":"

Your annual certification is ready.

"}' ``` ## Response **200 OK** Returns a confirmation and the certification link when available. Example with fictional data and selected fields. ```json { "status": "success", "message": { "message_key": "entities.invoice.messages.send_success" }, "invoice_link": "https://files.example.com/certification-link" } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `400` — The email or body is missing, or the email could not be sent. - `404` — The requested record was not found. - `503` — The certification link could not be prepared.