Rest api - mark invoice as sent


Is it possible to mark an invoice as sent with the rest api?

I tried it with the /api/v1/invoices/{id}/email endpoint but i get the following response:
“message”: “You are not authorized to view or perform this action”
All the other endpoints are working.

Or an other way to enable the payment button on the client portal with the rest api?


Best regards,


You can send a POST request to /api/v1/invoices/bulk with the parameters ids and action.

ie. {“ids”:[“31234123”], “action”: “mark_sent”}

1 Like