Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Endpoints >

Set Contact Group when adding a Contact

Started by Prolorus API Account -   in API Endpoints

I can create Xero contacts using the Accounting API but I'd like to also add the contact to a Contact Group at the same time.

Does anyone know if this is possible in a single request or is the only option to submit a separate PUT request to the Contact Group end point to add the contact?
Creating a contact and allocating to a group need to be done in two separate steps. Add a contact and then a PUT request to the contact group endpoint to add to a group.

You can add your vote to this request in Uservoice add contact group when creating contact
 

Sally C (Community Manager)