Skip to main content
POST
/
v1
/
invoice-receivables
/
{invoiceReceivableId}
/
send-email
Send invoice email
curl --request POST \
  --url https://api.light.inc/v1/invoice-receivables/{invoiceReceivableId}/send-email \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json;charset=UTF-8' \
  --data '
{
  "subject": "<string>",
  "replyTo": "<string>",
  "recipients": [
    "<string>"
  ],
  "cc": [
    "<string>"
  ],
  "customMessage": "<string>"
}
'

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

Path Parameters

invoiceReceivableId
string<uuid>
required

Body

application/json;charset=UTF-8
subject
string

Email subject line

replyTo
string

Reply-to email address

recipients
string[]

List of email addresses to send the invoice to

List of email addresses to send the invoice to

cc
(string | null)[] | null

List of email addresses to CC on the invoice email

List of email addresses to CC on the invoice email

customMessage
string | null

Optional custom message added to the invoice email body

Response

default - application/json;charset=UTF-8

default response