POST
/
invoices
/
{id}
/
send
Send invoice by email
curl --request POST \
  --url https://api.contazen.ro/v1/invoices/{id}/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com",
  "cc": "jsmith@example.com",
  "subject": "<string>",
  "message": "<string>"
}'
{
  "success": true,
  "message": "<string>",
  "meta": {
    "version": "v1",
    "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "response_time": "23.45ms"
  }
}

Authorizations

Authorization
string
header
required

Use your API key (sk_live_xxx or sk_test_xxx)

Path Parameters

id
string
required

Invoice CzUid

Body

application/json
email
string<email>

Override recipient email (uses client email if not specified)

cc
string<email>

CC email address

subject
string

Custom email subject

message
string

Custom email message

Response

Invoice sent

success
boolean
message
string
meta
object