How do I get the Contact "Owner" name via the API?

Hi,

I am using the InfusionSoft API with Ruby on Rails. I am using the https://github.com/nateleavitt/infusionsoft gem. I am able to load a contact by id but I cannot find the documentation for getting the Contact “Owner” name. Any suggestions? I have the Contact Owner ID, if this helps:

(byebug) Infusionsoft.contact_load(1372, ['OwnerID'])
{"OwnerID"=>618}

Thanks!

The Owner relates to the Infusionsoft User. So you will need to query the “User” table via the “Id” field to obtain the details.

https://developer.infusionsoft.com/docs/table-schema/#User

1 Like

That did it, thanks.