Email an Invoice via V2 API

Hi Simon,

Emailing an invoice does work although the documentation could be
clearer and the error messages are not at all helpful. To send an
email make a call like the following example:


With the following JSON:

“invoice”: {
“email”: {
“to”: "",
“from”: "",
“subject”: “Subject”,
“body”: “Body”

The email parameters are optional so if your contact already has an
email address and if you have email templates set up you shouldn’t
have to supply those parameters. Unfortunately at the moment you do
have to supply something so if you don’t want to override any of the
parameters send the following:

“invoice”: {
“email”: {}

We will improve this so that it works with blank input and the errors
are clearer.

Kind regards,

GraemeOn 3 October 2012 11:44, Simon Moxon wrote:

Using the V2 API I don’t seem to be able to call the ‘send email’ function, has anyone managed it?

Posting (what I believe to be the correct JSON) to the following url results in a ‘Resource not found’ error.

Is it possible to send e-mails via the API (as this specific function seems to be missing from the official v2 ruby library too)?

You received this message because you are subscribed to the Google Groups “FreeAgent API” group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Graeme Boyd
Senior Software Engineer

Web. Blog.
Twitter. @freeagent Facebook.

40 Torphichen Street, Edinburgh, EH3 8JB
FreeAgent Central Ltd. Registered in sunny Scotland SC316774