Skip to main content
Answered

Creating a Company advice

  • August 24, 2023
  • 1 reply
  • 158 views

I understand that Companies need to be created via API, I also understand they show when they have 1 associated user - but sadly even with the Developer Hub and knowledge of sending API requests and Postman as well; I can’t get this to work at all.

For Attaching a Contact:
Why does the Body only include an ID? No company ID, user ID ever seems to do anything with this.

{ 
"id": "64e5e25c35824d3aabb0e535" 
}

Is there a video or simple walk through that simply shows how to create a simple Company and associates 1 User; it would be really helpful as its far too time consuming.

After hours of trying, still cant create a single Company or attach one user.

Best answer by Racheal

Hey @Ian Maison  Racheal from the support engineer team here👋 

 

To create a Company you would send a POST request to:

https://api.intercom.io/companies

With this in the request body:

{ "company_id": "company_remote_id",

"name": "my company",

"remote_created_at": 1374138000 }

 

When it comes to adding a contact to a company the Company ID is included in the request URL:

https://api.intercom.io/contacts/{id}/companies

This is why it isn’t in the request body. The ID in the request body must be the Intercom defined id representing the Company, as mentioned here.

 

I hope this helps!

View original
Did this topic help you find an answer to your question?

1 reply

Racheal
Intercom Team
Forum|alt.badge.img+5
  • Customer Support Engineer
  • 512 replies
  • Answer
  • August 29, 2023

Hey @Ian Maison  Racheal from the support engineer team here👋 

 

To create a Company you would send a POST request to:

https://api.intercom.io/companies

With this in the request body:

{ "company_id": "company_remote_id",

"name": "my company",

"remote_created_at": 1374138000 }

 

When it comes to adding a contact to a company the Company ID is included in the request URL:

https://api.intercom.io/contacts/{id}/companies

This is why it isn’t in the request body. The ID in the request body must be the Intercom defined id representing the Company, as mentioned here.

 

I hope this helps!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings