/*
 * Datadog API for Go
 *
 * Please see the included LICENSE file for licensing information.
 *
 * Copyright 2013 by authors and contributors.
 */

package datadog

// reqInviteUsers contains email addresses to send invitations to.
type reqInviteUsers struct {
	Emails []string `json:"emails"`
}

// InviteUsers takes a slice of email addresses and sends invitations to them.
func (self *Client) InviteUsers(emails []string) error {
	return self.doJsonRequest("POST", "/v1/account/invite",
		reqInviteUsers{Emails: emails}, nil)
}

/*
 * Datadog API for Go
 *
 * Please see the included LICENSE file for licensing information.
 *
 * Copyright 2013 by authors and contributors.
 */

package datadog

import (
	"errors"
)

// reqInviteUsers contains email addresses to send invitations to.
type reqInviteUsers struct {
	Emails []string `json:"emails"`
}

// InviteUsers takes a slice of email addresses and sends invitations to them.
func (self *Client) InviteUsers(emails []string) error {
	return errors.New("datadog API docs don't list the endpoint")

	//	return self.doJsonRequest("POST", "/v1/alert",
	//		reqInviteUsers{Emails: emails}, nil)
}

--- 
+++ 
@@ -8,10 +8,6 @@
 
 package datadog
 
-import (
-	"errors"
-)
-
 // reqInviteUsers contains email addresses to send invitations to.
 type reqInviteUsers struct {
 	Emails []string `json:"emails"`
@@ -19,8 +15,6 @@
 
 // InviteUsers takes a slice of email addresses and sends invitations to them.
 func (self *Client) InviteUsers(emails []string) error {
-	return errors.New("datadog API docs don't list the endpoint")
-
-	//	return self.doJsonRequest("POST", "/v1/alert",
-	//		reqInviteUsers{Emails: emails}, nil)
+	return self.doJsonRequest("POST", "/v1/account/invite",
+		reqInviteUsers{Emails: emails}, nil)
 }
Implement the user invitation method

Now I have the endpoint, now this should work.
