Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

Unable to Send invoice email with invoice pdf

Started by Waqar Ahmad -   in API Authentication

Hi ,
I am using xero php for creating contact and invoice for this contact that's ok but now i want to send email with invoice pdf . i read documentation and found

( api.xero.com/api.xro/2.0/Invoices/aa682059-c8ec-44b9-bc7f-344c94e1ffae/Email
Request Body: <Empty>
)

this method but i am not able to send this email i got the authentication error do any one have the idea or sample code .
Thanks