- List granted companies for a contact (Preview)
List the companies a contact has been granted access to.
A granted company lets the contact read that company's tickets in the customer portal. It is separate from company membership — granting a company does not attach the contact to it, and GET /contacts/{id}/companies does not include grants.
company_ids holds the company_id values you set on your companies, so the list round-trips with the company_ids you send to PUT /contacts/{contact_id}/granted_companies. The list is sorted by company id and paginated.
Returns an empty list when granted companies are not enabled for the workspace.
Requires the read_users_companies OAuth scope. Set Intercom-Version: preview.
Preview Intercom API version. Used for closed beta endpoints or other features under managed availability.
- The production API serverhttps://api.intercom.io/contacts/{contact_id}/granted_companies
- The european API serverhttps://api.eu.intercom.io/contacts/{contact_id}/granted_companies
- The australian API serverhttps://api.au.intercom.io/contacts/{contact_id}/granted_companies
curl -i -X GET \
'https://api.intercom.io/contacts/63a07ddf05a32042dffac965/granted_companies?page=1&per_page=50&order=asc' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: preview'Successful
The company_id values of the companies the contact has been granted access to.
[ "acme-corp" ]
Pagination details. Null on the replace response, which returns the whole stored set.
- Successful
- No granted companies
{ "type": "list", "company_ids": [ "acme-corp", "1234" ], "pages": { "type": "pages", "next": null, "page": 1, "per_page": 50, "total_pages": 1 }, "total_count": 2 }