How to get current workspace name? | Community
Skip to main content
Answered

How to get current workspace name?

  • December 9, 2020
  • 2 replies
  • 139 views

Forum|alt.badge.img+1

we can get workspace_id from request body. where we can get the wokspace name? any API available?

Best answer by Alexandra P

Hey @rajabdeen​ 

 

When a user installs your Intercom integration you will have to use Oauth to authenticate them. After trading the Intercom authorization code for an access token, you will receive the workspace_id as well as the Application name in the response.

 

I believe the application name is what you are looking for?

2 replies

  • Active User
  • 10 replies
  • Answer
  • December 9, 2020

Hey @rajabdeen​ 

 

When a user installs your Intercom integration you will have to use Oauth to authenticate them. After trading the Intercom authorization code for an access token, you will receive the workspace_id as well as the Application name in the response.

 

I believe the application name is what you are looking for?


Forum|alt.badge.img+1
  • Author
  • Active User
  • 17 replies
  • December 10, 2020

@alexandra p​ ok. But even in development environment, i am getting workspace_id, what im missing is only workspace name. If i got u correctly, i would get the details once i publish the app only.