Communications
Email a document
Emails one invoice, purchase invoice, account statement or payment.
POST
cURL
The body names one of
invoice, purchase_invoice, account_statement or payment, holding that document’s id, beside to, cc, bcc, subject, body and template.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set
host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.Authorizations
An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.
Body
application/json
Name one document to email, beside the recipients and content.
The id of the invoice to email, such as INV-0001. Send one of invoice, purchase_invoice, account_statement or payment.
The id of the purchase invoice to email.
The id of the account statement to email.
The id of the payment to email.
The recipients.
Copy recipients.
Blind copy recipients.
The email's subject.
The email's body.
The email template to use.
Response
200
The email is sent.