# Can I post Company (Name, not relation) via the rest api?

**URL:** <https://integration.keap.com/t/can-i-post-company-name-not-relation-via-the-rest-api/28063>\
**Category:** API Q&A\
**Created:** [January 21, 2018, 5:03pm UTC](https://integration.keap.com/t/can-i-post-company-name-not-relation-via-the-rest-api/28063 "2018-01-21T17:03:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustinHandley](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/justinhandley/32/1598_2.png) [@JustinHandley](https://integration.keap.com/u/JustinHandley)\
**Post date:** [January 21, 2018, 5:03pm UTC](https://integration.keap.com/t/can-i-post-company-name-not-relation-via-the-rest-api/28063/1 "2018-01-21T17:03:57Z")

</div>

I’m trying to post the Company (Text field, not relationship to data type Company) via the REST API to no avail - is it possible? What is the data format to do that?

Justin

---

<div class="post-metadata">

**Author:** ![Carlos\_Ochoa](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/carlos_ochoa/32/2547_2.png) [@Carlos\_Ochoa](https://integration.keap.com/u/Carlos_Ochoa)\
**Post date:** [January 23, 2018, 11:21pm UTC](https://integration.keap.com/t/can-i-post-company-name-not-relation-via-the-rest-api/28063/2 "2018-01-23T23:21:15Z")

</div>

Hi @JustinHandley, we currently just support the company data type as a field on the contact. This is because the company text field could potentially be ambiguous (not linked to any existing company). If you prefer using that field, I believe you should be able to use the xmlrpc api to update that using the ContactService.update method

example:

```auto
<?xml version='1.0' encoding='UTF-8'?>
<methodCall>
<methodName>ContactService.update</methodName>
  <params>
    <param>
      <value><string>{{APIKey}}</string></value>
    </param>
    <param>
      <value><int>{{ContactId}}</int></value>
    </param>
    <param>
      <value><struct>
        <member><name>Company</name> //Company text field
          <value><string>theXMLway</string></value> //Text value
        </member>
      </struct></value>
    </param>
  </params>
</methodCall>

```

Carlos
